remove floatToIntBits on slop in hashCode

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@330933 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2005-11-04 22:10:54 +00:00
parent 104aa2999e
commit bfe4a24053
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ public class PhraseQuery extends Query {
/** Returns a hash code value for this object.*/
public int hashCode() {
return Float.floatToIntBits(getBoost())
^ Float.floatToIntBits(slop)
^ slop
^ terms.hashCode()
^ positions.hashCode();
}