LUCENE-5263: fix comment

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531837 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2013-10-14 10:13:25 +00:00
parent e4ee6188ef
commit 9ad9a5f65a
1 changed files with 3 additions and 3 deletions

View File

@ -3357,14 +3357,14 @@ public class IndexWriter implements Closeable, TwoPhaseCommit{
assert merge.info.info.getDocCount() != 0 || keepFullyDeletedSegments || dropSegment;
if (mergedDeletes != null) {
// Pass false for assertInfoLive because the merged
// segment is not yet live (only below do we commit it
// to the segmentInfos):
boolean success = false;
try {
if (dropSegment) {
mergedDeletes.dropChanges();
}
// Pass false for assertInfoLive because the merged
// segment is not yet live (only below do we commit it
// to the segmentInfos):
readerPool.release(mergedDeletes, false);
success = true;
} finally {