mirror of https://github.com/apache/lucene.git
Patch (BUG# 31061) submitted by Paul Elschot reviewed by
Christoph Goller and applied git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150490 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4288bbe643
commit
60cee18ffa
|
@ -102,9 +102,6 @@ final class ConjunctionScorer extends Scorer {
|
||||||
public int compare(Object o1, Object o2) {
|
public int compare(Object o1, Object o2) {
|
||||||
return ((Scorer)o1).doc() - ((Scorer)o2).doc();
|
return ((Scorer)o1).doc() - ((Scorer)o2).doc();
|
||||||
}
|
}
|
||||||
public boolean equals(Object o1, Object o2) {
|
|
||||||
return ((Scorer)o1).doc() == ((Scorer)o2).doc();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
for (int i = 0; i < array.length; i++) {
|
for (int i = 0; i < array.length; i++) {
|
||||||
|
|
Loading…
Reference in New Issue