Add PlaylistTab.hashCode() matching equals
This commit is contained in:
parent
2fc26bc154
commit
448989f32f
1 changed files with 12 additions and 0 deletions
|
@ -618,6 +618,18 @@ public abstract class Tab {
|
||||||
&& playlistType == other.playlistType;
|
&& playlistType == other.playlistType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(
|
||||||
|
getTabId(),
|
||||||
|
playlistServiceId,
|
||||||
|
playlistId,
|
||||||
|
playlistUrl,
|
||||||
|
playlistName,
|
||||||
|
playlistType
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
public int getPlaylistServiceId() {
|
public int getPlaylistServiceId() {
|
||||||
return playlistServiceId;
|
return playlistServiceId;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue