mirror of https://github.com/apache/lucene.git
make tests deterministic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003658 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
12987dd21a
commit
0e5d709bd7
|
@ -269,4 +269,9 @@ public class State implements Serializable, Comparable<State> {
|
||||||
public int compareTo(State s) {
|
public int compareTo(State s) {
|
||||||
return s.id - id;
|
return s.id - id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue