From ec7f611f59c82f849ed7eb7dfcc46245bec8a93c Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Wed, 23 May 2012 20:20:10 +0000 Subject: [PATCH] LUCENE-4055: more nocommits gone... git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1342023 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/org/apache/lucene/index/TestIndexWriter.java | 7 ------- .../src/java/org/apache/lucene/index/IndexSplitter.java | 1 - 2 files changed, 8 deletions(-) diff --git a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriter.java b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriter.java index 86f292c2c2b..1a03fd1cb9c 100644 --- a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriter.java +++ b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriter.java @@ -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 files = new HashSet(); - s.getCodec().termVectorsFormat().files(s, files); - List filesExisting = SegmentInfo.findMatchingFiles(s.name, dir, files); - assertTrue(filesExisting.isEmpty()); - */ } r0.close(); diff --git a/lucene/misc/src/java/org/apache/lucene/index/IndexSplitter.java b/lucene/misc/src/java/org/apache/lucene/index/IndexSplitter.java index b45040af293..7020f4444f6 100644 --- a/lucene/misc/src/java/org/apache/lucene/index/IndexSplitter.java +++ b/lucene/misc/src/java/org/apache/lucene/index/IndexSplitter.java @@ -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 files = infoPerCommit.files(); for (final String srcName : files) {