mirror of https://github.com/apache/lucene.git
- 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:
parent
24a33435fc
commit
5b21cee1b0
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue