Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-6957: don't make this method final

Michael McCandless1c58fd460812
diff --git a/lucene/test-framework/src/java/org/apache/lucene/store/BaseDirectoryTestCase.java b/lucene/test-framework/src/java/org/apache/lucene/store/BaseDirectoryTestCase.java
index 78dce031ee7..3d2fad200db 100644
--- a/lucene/test-framework/src/java/org/apache/lucene/store/BaseDirectoryTestCase.java
+++ b/lucene/test-framework/src/java/org/apache/lucene/store/BaseDirectoryTestCase.java
@@ -1148,7 +1148,7 @@ public abstract class BaseDirectoryTestCase extends LuceneTestCase {
dir.close(); // close again
}
- public final void testDoubleCloseOutput() throws Throwable {
+ public void testDoubleCloseOutput() throws Throwable {
Directory dir = getDirectory(createTempDir());
IndexOutput out = dir.createOutput("foobar", newIOContext(random()));
out.writeString("testing");