improve hashcodes: LUCENE-460

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358694 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2005-12-23 03:43:38 +00:00
parent 75c81da538
commit 27f2d29a10
1 changed files with 1 additions and 1 deletions

View File

@ -85,6 +85,6 @@ public class PrefixQuery extends Query {
/** Returns a hash code value for this object.*/
public int hashCode() {
return Float.floatToIntBits(getBoost()) ^ prefix.hashCode();
return Float.floatToIntBits(getBoost()) ^ prefix.hashCode() ^ 0x6634D93C;
}
}