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:
Yonik Seeley 2005-12-23 03:51:03 +00:00
parent 27f2d29a10
commit 9b4b499548
1 changed files with 1 additions and 1 deletions

View File

@ -147,6 +147,6 @@ public class MatchAllDocsQuery extends Query {
}
public int hashCode() {
return Float.floatToIntBits(getBoost());
return Float.floatToIntBits(getBoost()) ^ 0x1AA71190;
}
}