mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 08:30:44 +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;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(
|
||||
getTabId(),
|
||||
playlistServiceId,
|
||||
playlistId,
|
||||
playlistUrl,
|
||||
playlistName,
|
||||
playlistType
|
||||
);
|
||||
}
|
||||
|
||||
public int getPlaylistServiceId() {
|
||||
return playlistServiceId;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user