Skip to content

Commit

Permalink
Remove equals() method from PlayQueueItem
Browse files Browse the repository at this point in the history
  • Loading branch information
Stypox committed Jul 20, 2021
1 parent ca282f2 commit 2306519
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,6 @@ private PlayQueueItem(@Nullable final String name, @Nullable final String url,
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;
Expand Down

0 comments on commit 2306519

Please sign in to comment.