Comment out debuging code
This commit is contained in:
parent
9c00e7f45c
commit
797e1a105d
1 changed files with 6 additions and 6 deletions
|
@ -76,18 +76,18 @@ public class PlaylistRemoteEntity implements PlaylistLocalItem {
|
||||||
|
|
||||||
@Ignore
|
@Ignore
|
||||||
public boolean isIdenticalTo(final PlaylistInfo info) {
|
public boolean isIdenticalTo(final PlaylistInfo info) {
|
||||||
String TAG = "isIdenticalTo";
|
//String TAG = "isIdenticalTo";
|
||||||
boolean DEBUG = !BuildConfig.BUILD_TYPE.equals("release");
|
//boolean DEBUG = !BuildConfig.BUILD_TYPE.equals("release");
|
||||||
/*
|
/*
|
||||||
* Returns boolean comparing the online playlist and the local copy.
|
* Returns boolean comparing the online playlist and the local copy.
|
||||||
* (False if info changed such as playlist name or track count)
|
* (False if info changed such as playlist name or track count)
|
||||||
*/
|
*/
|
||||||
boolean returnMe = true;
|
//boolean returnMe = true;
|
||||||
returnMe &= getServiceId() == info.getServiceId() && getName().equals(info.getName()) &&
|
return getServiceId() == info.getServiceId() && getName().equals(info.getName()) &&
|
||||||
getStreamCount() == info.getStreamCount() && getUrl().equals(info.getUrl()) &&
|
getStreamCount() == info.getStreamCount() && getUrl().equals(info.getUrl()) &&
|
||||||
getThumbnailUrl().equals(info.getThumbnailUrl()) && TextUtils.equals(getUploader(), info.getUploaderName());
|
getThumbnailUrl().equals(info.getThumbnailUrl()) && TextUtils.equals(getUploader(), info.getUploaderName());
|
||||||
if (DEBUG) Log.d(TAG, TAG+"() called with result: returnMe = "+returnMe);
|
//if (DEBUG) Log.d(TAG, TAG+"() called with result: returnMe = "+returnMe);
|
||||||
return returnMe;
|
//return returnMe;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getUid() {
|
public long getUid() {
|
||||||
|
|
Loading…
Reference in a new issue