Apache Lucene open-source search software
fix javadocs
Michael McCandlessb9917b5f0c0e
diff --git a/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java b/lucene/core/src/java/org/apache/lucene/index/IndexWriter.javaindex 34d48fedfc7..5dd6b998abd 100644--- a/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java+++ b/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java@@ -543,12 +543,12 @@ public class IndexWriter implements Closeable, TwoPhaseCommit {* Used internally to throw an {@link* AlreadyClosedException} if this IndexWriter has been* closed.- * @throws AlreadyClosedException if this IndexWriter is- * closed* @param failIfClosing if true, also fail when* {@code IndexWriter} is in the process of closing* ({@code closing=true}) but not yet done closing ({@code* closed=false})+ * @throws AlreadyClosedException if this IndexWriter is+ * closed*/protected final void ensureOpen(boolean failIfClosing) throws AlreadyClosedException {if (closed || (failIfClosing && closing)) {