diff --git a/lucene/src/java/org/apache/lucene/index/BufferedDeletesStream.java b/lucene/src/java/org/apache/lucene/index/BufferedDeletesStream.java index c8d703c463f..a4e7f5c1c08 100644 --- a/lucene/src/java/org/apache/lucene/index/BufferedDeletesStream.java +++ b/lucene/src/java/org/apache/lucene/index/BufferedDeletesStream.java @@ -155,11 +155,6 @@ class BufferedDeletesStream { return 0; } } - - @Override - public boolean equals(Object other) { - return sortSegInfoByDelGen == other; - } }; /** Resolves the buffered deleted Term/Query/docIDs, into