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:
Michael McCandless 2012-12-02 22:59:58 +00:00
parent f8795d25a5
commit b9917b5f0c
1 changed files with 2 additions and 2 deletions

View File

@ -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)) {