Change hash function to be less silly

This commit is contained in:
Adrian Ulrich 2015-12-21 17:57:42 +01:00
parent 6df61daf2e
commit 9740ff1c17

View File

@ -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