mirror of https://github.com/apache/lucene.git
remove unnecessary code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491956 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3e097c87bb
commit
4a751c3f0b
|
@ -613,10 +613,6 @@ public final class SegmentInfos implements Cloneable, Iterable<SegmentInfoPerCom
|
|||
IndexInput genInput = null;
|
||||
try {
|
||||
genInput = directory.openInput(IndexFileNames.SEGMENTS_GEN, IOContext.READONCE);
|
||||
} catch (FileNotFoundException e) {
|
||||
if (infoStream != null) {
|
||||
message("segments.gen open: FileNotFoundException " + e);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
if (infoStream != null) {
|
||||
message("segments.gen open: IOException " + e);
|
||||
|
|
Loading…
Reference in New Issue