Change hash function to be less silly
This commit is contained in:
parent
6df61daf2e
commit
9740ff1c17
@ -203,7 +203,7 @@ public class CoverCache {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return this.mediaType*10 + (int)this.mediaId + this.coverSize * (int)1e5;
|
||||
return (int)this.mediaId + this.mediaType*(int)1e4 + this.coverSize * (int)1e5;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user