mirror of https://github.com/apache/lucene.git
fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416284 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f8795d25a5
commit
b9917b5f0c
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue