- Fixed typo and unused import

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487514 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2006-12-15 10:49:21 +00:00
parent 24a33435fc
commit 5b21cee1b0
1 changed files with 7 additions and 7 deletions

View File

@ -17,15 +17,15 @@ package org.apache.lucene.index;
* limitations under the License. * 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.Directory;
import org.apache.lucene.store.IndexInput; import org.apache.lucene.store.IndexInput;
import org.apache.lucene.store.IndexOutput; 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 { 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 // 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 // contents cache seem to be stale, just advance the
// generation. // generation.
if (2 == method || (1 == method && lastGen == gen && retry)) { if (2 == method || (1 == method && lastGen == gen && retry)) {