Apache Lucene open-source search software
LUCENE-5858: clear bogus code/comment up
Robert Muir0a6850993d00
diff --git a/lucene/core/src/test/org/apache/lucene/store/TestFileSwitchDirectory.java b/lucene/core/src/test/org/apache/lucene/store/TestFileSwitchDirectory.javaindex fe61a2af69e..2946649e4e7 100644--- a/lucene/core/src/test/org/apache/lucene/store/TestFileSwitchDirectory.java+++ b/lucene/core/src/test/org/apache/lucene/store/TestFileSwitchDirectory.java@@ -49,9 +49,7 @@ public class TestFileSwitchDirectory extends BaseDirectoryTestCase {secondaryDir.setCheckIndexOnClose(false); // only part of an indexFileSwitchDirectory fsd = new FileSwitchDirectory(fileExtensions, primaryDir, secondaryDir, true);- // for now we wire Lucene40Codec because we rely upon its specific impl- boolean oldValue = OLD_FORMAT_IMPERSONATION_IS_ACTIVE;- OLD_FORMAT_IMPERSONATION_IS_ACTIVE = true;+ // for now we wire Lucene410Codec because we rely upon its specific implIndexWriter writer = new IndexWriter(fsd,new IndexWriterConfig(new MockAnalyzer(random())).@@ -83,7 +81,6 @@ public class TestFileSwitchDirectory extends BaseDirectoryTestCase {assertNotNull(files[i]);}fsd.close();- OLD_FORMAT_IMPERSONATION_IS_ACTIVE = oldValue;}private Directory newFSSwitchDirectory(Set<String> primaryExtensions) throws IOException {