1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-02 15:01:01 +01:00

Remove equals() method from PlayQueueItem

This commit is contained in:
Stypox 2021-07-20 16:38:35 +02:00
parent fd4e1b8d2c
commit 4a2bd7bd7b
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

View File

@ -64,20 +64,6 @@ public class PlayQueueItem implements Serializable {
this.recoveryPosition = RECOVERY_UNSET;
}
@Override
public boolean equals(final Object o) {
if (o instanceof PlayQueueItem) {
return url.equals(((PlayQueueItem) o).url);
} else {
return false;
}
}
@Override
public int hashCode() {
return url.hashCode();
}
@NonNull
public String getTitle() {
return title;