You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2012/12/03 00:00:23 UTC
svn commit: r1416285 - in /lucene/dev/branches/branch_4x: ./ lucene/
lucene/core/ lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
Author: mikemccand
Date: Sun Dec 2 23:00:23 2012
New Revision: 1416285
URL: http://svn.apache.org/viewvc?rev=1416285&view=rev
Log:
fix javadocs
Modified:
lucene/dev/branches/branch_4x/ (props changed)
lucene/dev/branches/branch_4x/lucene/ (props changed)
lucene/dev/branches/branch_4x/lucene/core/ (props changed)
lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
Modified: lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java?rev=1416285&r1=1416284&r2=1416285&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java (original)
+++ lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java Sun Dec 2 23:00:23 2012
@@ -545,12 +545,12 @@ public class IndexWriter implements Clos
* 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)) {