LUCENE-6910: remove no-op code in CheckIndex.java (https://scan.coverity.com/projects/5620 CID 120040)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717804 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christine Poerschke 2015-12-03 16:52:33 +00:00
parent 038d1720c9
commit 7b32197915
1 changed files with 0 additions and 6 deletions

View File

@ -567,7 +567,6 @@ public final class CheckIndex implements Closeable {
}
String sFormat = "";
boolean skip = false;
result.segmentsFileName = segmentsFileName;
result.numSegments = numSegments;
@ -605,11 +604,6 @@ public final class CheckIndex implements Closeable {
msg(infoStream, ":");
}
if (skip) {
msg(infoStream, "\nERROR: this index appears to be created by a newer version of Lucene than this tool was compiled on; please re-compile this tool on the matching version of Lucene; exiting");
result.toolOutOfDate = true;
return result;
}
result.newSegments = sis.clone();