LUCENE-4055: more nocommits gone...

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1342023 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2012-05-23 20:20:10 +00:00
parent efefcc832b
commit ec7f611f59
2 changed files with 0 additions and 8 deletions

View File

@ -1528,13 +1528,6 @@ public class TestIndexWriter extends LuceneTestCase {
for (IndexReader r : r0.getSequentialSubReaders()) {
SegmentInfoPerCommit s = ((SegmentReader) r).getSegmentInfo();
assertFalse(((SegmentReader) r).getFieldInfos().hasVectors());
// nocommit
/*
Set<String> files = new HashSet<String>();
s.getCodec().termVectorsFormat().files(s, files);
List<String> filesExisting = SegmentInfo.findMatchingFiles(s.name, dir, files);
assertTrue(filesExisting.isEmpty());
*/
}
r0.close();

View File

@ -149,7 +149,6 @@ public class IndexSplitter {
info.getDocStoreSegment(), info.getDocStoreIsCompoundFile(), info.getNormGen(), info.getUseCompoundFile(),
info.getCodec(), info.getDiagnostics(), info.attributes());
destInfos.add(new SegmentInfoPerCommit(newInfo, infoPerCommit.getDelCount(), infoPerCommit.getDelGen()));
// nocommit is this right...?
// now copy files over
Collection<String> files = infoPerCommit.files();
for (final String srcName : files) {