lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dor...@apache.org
Subject svn commit: r509924 - /lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java
Date Wed, 21 Feb 2007 07:22:13 GMT
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)



Mime
View raw message