remove irrelevant TODO - segmentFileName is only added if not null

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521038 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shai Erera 2013-09-09 11:11:50 +00:00
parent 815ee4e2e6
commit ad94fefaee
1 changed files with 0 additions and 4 deletions

View File

@ -804,10 +804,6 @@ public final class SegmentInfos implements Cloneable, Iterable<SegmentInfoPerCom
if (includeSegmentsFile) {
final String segmentFileName = getSegmentsFileName();
if (segmentFileName != null) {
/*
* TODO: if lastGen == -1 we get might get null here it seems wrong to
* add null to the files set
*/
files.add(segmentFileName);
}
}