You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by do...@apache.org on 2007/02/21 08:22:13 UTC
svn commit: r509924 -
/lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java
Author: doronc
Date: Tue Feb 20 23:22:13 2007
New Revision: 509924
URL: http://svn.apache.org/viewvc?view=rev&rev=509924
Log:
clean IndexWriter unused code: Unused private constructor; Unused imports
Modified:
lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java
Modified: lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java?view=diff&rev=509924&r1=509923&r2=509924
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java Tue Feb 20 23:22:13 2007
@@ -22,8 +22,6 @@
import org.apache.lucene.search.Similarity;
import org.apache.lucene.store.Directory;
import org.apache.lucene.store.FSDirectory;
-import org.apache.lucene.store.IndexInput;
-import org.apache.lucene.store.IndexOutput;
import org.apache.lucene.store.Lock;
import org.apache.lucene.store.RAMDirectory;
@@ -335,11 +333,6 @@
} else {
init(d, a, true, false);
}
- }
-
- private IndexWriter(Directory d, Analyzer a, final boolean create, boolean closeDir)
- throws IOException {
- init(d, a, create, closeDir);
}
private void init(String path, Analyzer a, final boolean create)