From 4a2bd7bd7b82acaff80da7ae979d53dc53f8fc67 Mon Sep 17 00:00:00 2001 From: Stypox Date: Tue, 20 Jul 2021 16:38:35 +0200 Subject: [PATCH] Remove equals() method from PlayQueueItem --- .../newpipe/player/playqueue/PlayQueueItem.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueueItem.java b/app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueueItem.java index 1c38ebbca..182a91e59 100644 --- a/app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueueItem.java +++ b/app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueueItem.java @@ -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;