Replaced back arrow with x in some places and cleaned some code up

This commit is contained in:
Karim Abou Zeid 2015-07-10 03:49:20 +02:00
commit 6c7ee47d3f
7 changed files with 27 additions and 21 deletions

View file

@ -33,7 +33,7 @@ public abstract class AbsSmartPlaylist extends Playlist {
this.iconRes = R.drawable.ic_queue_music_white_24dp;
}
@Nullable
@NonNull
public SmartPlaylistSongAdapter createAdapter(AppCompatActivity activity, @Nullable CabHolder cabHolder) {
return new SmartPlaylistSongAdapter(activity, this, cabHolder);
}
@ -51,7 +51,7 @@ public abstract class AbsSmartPlaylist extends Playlist {
}
@Override
public boolean equals(@NonNull final Object obj) {
public boolean equals(@Nullable final Object obj) {
if (super.equals(obj)) {
if (getClass() != obj.getClass()) {
return false;