Skip to content

Commit 8760654

Browse files
authored
Remove unnecessary methods from DocAndScore (#13769)
1 parent f0fd51c commit 8760654

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

lucene/core/src/java/org/apache/lucene/search/MaxScoreAccumulator.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,5 @@ public int compareTo(DocAndScore o) {
8484
}
8585
return cmp;
8686
}
87-
88-
@Override
89-
public boolean equals(Object o) {
90-
if (this == o) return true;
91-
if (o == null || getClass() != o.getClass()) return false;
92-
DocAndScore result = (DocAndScore) o;
93-
return docBase == result.docBase && Float.compare(result.score, score) == 0;
94-
}
95-
96-
@Override
97-
public String toString() {
98-
return "DocAndScore{" + "docBase=" + docBase + ", score=" + score + '}';
99-
}
10087
}
10188
}

0 commit comments

Comments
 (0)