package com.caju.uheer.services.infrastructure;

import com.caju.uheer.core.Music;

public class SyncItem {
    public Music music;
    public long startingAt;

    public SyncItem(Music music) {
        this(music, 0);
    }

    public SyncItem(Music music, long startingAt) {
        this.music = music;
        this.startingAt = startingAt;
    }

    @Override
    public boolean equals(Object o) {
        try {
            return super.equals(o) || music == ((SyncItem)o).music;
        } catch (ClassCastException e) {
            return false;
        }
    }
}

@@ -158,74 +158,8 @@
 t;%0A%0A
-    public SyncItem(Music music) %7B%0A        this(music, 0);%0A    %7D%0A%0A
     

Update SyncItem