Apache Solr open-source search software
remove unnecessary code
Robert Muir4a751c3f0b02
diff --git a/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java b/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.javaindex 7851e792b97..61fd7171af4 100644--- a/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java+++ b/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java@@ -613,10 +613,6 @@ public final class SegmentInfos implements Cloneable, Iterable<SegmentInfoPerComIndexInput 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);