Skip to content

Commit 4a2bd7b

Browse files
committed
Remove equals() method from PlayQueueItem
1 parent fd4e1b8 commit 4a2bd7b

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueueItem.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,6 @@ private PlayQueueItem(@Nullable final String name, @Nullable final String url,
6464
this.recoveryPosition = RECOVERY_UNSET;
6565
}
6666

67-
@Override
68-
public boolean equals(final Object o) {
69-
if (o instanceof PlayQueueItem) {
70-
return url.equals(((PlayQueueItem) o).url);
71-
} else {
72-
return false;
73-
}
74-
}
75-
76-
@Override
77-
public int hashCode() {
78-
return url.hashCode();
79-
}
80-
8167
@NonNull
8268
public String getTitle() {
8369
return title;

0 commit comments

Comments
 (0)