Add hashCode() to match equals(other)
This commit is contained in:
parent
24b02a2dbd
commit
78ff6485a2
1 changed files with 5 additions and 0 deletions
|
|
@ -509,6 +509,11 @@ public abstract class PlayQueue implements Serializable {
|
||||||
return streams.equals(other.streams);
|
return streams.equals(other.streams);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return streams.hashCode();
|
||||||
|
}
|
||||||
|
|
||||||
public boolean isDisposed() {
|
public boolean isDisposed() {
|
||||||
return disposed;
|
return disposed;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue