Apache Lucene open-source search software
LUCENE-7919: remove useless notify
Mike McCandlessb531fbc5fd91
diff --git a/lucene/core/src/java/org/apache/lucene/index/DocumentsWriterPerThreadPool.java b/lucene/core/src/java/org/apache/lucene/index/DocumentsWriterPerThreadPool.javaindex de5b3fe88dc..102628fd1de 100644--- a/lucene/core/src/java/org/apache/lucene/index/DocumentsWriterPerThreadPool.java+++ b/lucene/core/src/java/org/apache/lucene/index/DocumentsWriterPerThreadPool.java@@ -212,8 +212,6 @@ final class DocumentsWriterPerThreadPool {state.unlock();synchronized (this) {freeList.add(state);- // In case any thread is waiting, wake one of them up since we just released a thread state:- notify();}}