Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

- Fixed typo and unused import

Otis Gospodnetic5b21cee1b0bd
diff --git a/src/java/org/apache/lucene/index/SegmentInfos.java b/src/java/org/apache/lucene/index/SegmentInfos.java
index 950c5759d18..e9d3e5162f4 100644
--- a/src/java/org/apache/lucene/index/SegmentInfos.java
+++ b/src/java/org/apache/lucene/index/SegmentInfos.java
@@ -17,15 +17,15 @@ package org.apache.lucene.index;
* 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 @@ public final class SegmentInfos extends Vector {
}
// 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)) {