Apache Lucene open-source search software
fix msg in exc
Michael McCandless264ad4f4404d
diff --git a/lucene/src/test/org/apache/lucene/store/MockDirectoryWrapper.java b/lucene/src/test/org/apache/lucene/store/MockDirectoryWrapper.javaindex b4f65e5bfe3..8c93a749936 100644--- a/lucene/src/test/org/apache/lucene/store/MockDirectoryWrapper.java+++ b/lucene/src/test/org/apache/lucene/store/MockDirectoryWrapper.java@@ -340,7 +340,7 @@ public class MockDirectoryWrapper extends Directory {cause = stacktraces.next();// RuntimeException instead of IOException because// super() does not throw IOException currently:- throw new RuntimeException("MockRAMDirectory: cannot close: there are still open files: " + openFiles, cause);+ throw new RuntimeException("MockDirectoryWrapper: cannot close: there are still open files: " + openFiles, cause);}open = false;delegate.close();