mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 16:40:32 +00:00
Add PlaylistTab.hashCode() matching equals
This commit is contained in:
parent
2fc26bc154
commit
448989f32f
@ -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…
Reference in New Issue
Block a user