mirror of https://github.com/apache/lucene.git
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:
parent
104aa2999e
commit
bfe4a24053
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue