mirror of https://github.com/apache/lucene.git
improve hashcodes: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358695 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
27f2d29a10
commit
9b4b499548
|
@ -147,6 +147,6 @@ public class MatchAllDocsQuery extends Query {
|
|||
}
|
||||
|
||||
public int hashCode() {
|
||||
return Float.floatToIntBits(getBoost());
|
||||
return Float.floatToIntBits(getBoost()) ^ 0x1AA71190;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue