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 ot...@apache.org on 2006/12/15 11:49:24 UTC

svn commit: r487514 - /lucene/java/trunk/src/java/org/apache/lucene/index/SegmentInfos.java

Author: otis
Date: Fri Dec 15 02:49:21 2006
New Revision: 487514

URL: http://svn.apache.org/viewvc?view=rev&rev=487514
Log:
- Fixed typo and unused import

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/index/SegmentInfos.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/index/SegmentInfos.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/index/SegmentInfos.java?view=diff&rev=487514&r1=487513&r2=487514
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/SegmentInfos.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/SegmentInfos.java Fri Dec 15 02:49:21 2006
@@ -17,15 +17,15 @@
  * limitations under the License.
  */
 
-import java.util.Vector;
-import java.io.IOException;
-import java.io.PrintStream;
-import java.io.File;
-import java.io.FileNotFoundException;
 import org.apache.lucene.store.Directory;
 import org.apache.lucene.store.IndexInput;
 import org.apache.lucene.store.IndexOutput;
-import org.apache.lucene.util.Constants;
+
+import java.io.File;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.PrintStream;
+import java.util.Vector;
 
 public final class SegmentInfos extends Vector {
   
@@ -486,7 +486,7 @@
         }
 
         // Method 3 (fallback if Methods 2 & 3 are not
-        // reliabel): since both directory cache and file
+        // reliable): since both directory cache and file
         // contents cache seem to be stale, just advance the
         // generation.
         if (2 == method || (1 == method && lastGen == gen && retry)) {