From 6c1ecb6984e1ce5be1205fe43a0816a92568d0ee Mon Sep 17 00:00:00 2001 From: Mike McCandless Date: Sat, 5 Mar 2016 18:12:47 -0500 Subject: [PATCH] remove useless print --- lucene/core/src/java/org/apache/lucene/index/CheckIndex.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lucene/core/src/java/org/apache/lucene/index/CheckIndex.java b/lucene/core/src/java/org/apache/lucene/index/CheckIndex.java index 1da69c14c5c..0bfa350eaba 100644 --- a/lucene/core/src/java/org/apache/lucene/index/CheckIndex.java +++ b/lucene/core/src/java/org/apache/lucene/index/CheckIndex.java @@ -567,8 +567,6 @@ public final class CheckIndex implements Closeable { input.close(); } - String sFormat = ""; - result.segmentsFileName = segmentsFileName; result.numSegments = numSegments; result.userData = sis.getUserData(); @@ -591,7 +589,7 @@ public final class CheckIndex implements Closeable { } msg(infoStream, "Segments file=" + segmentsFileName + " numSegments=" + numSegments - + " " + versionString + " id=" + StringHelper.idToString(sis.getId()) + " format=" + sFormat + userDataString); + + " " + versionString + " id=" + StringHelper.idToString(sis.getId()) + userDataString); if (onlySegments != null) { result.partial = true;