mirror of https://github.com/apache/lucene.git
Fix compilation under Java 6.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441764 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7f0284099e
commit
58f2f88254
|
@ -722,7 +722,7 @@ public abstract class BaseTermVectorsFormatTestCase extends LuceneTestCase {
|
||||||
writer.close();
|
writer.close();
|
||||||
dir.close();
|
dir.close();
|
||||||
if (exception.get() != null) {
|
if (exception.get() != null) {
|
||||||
throw new AssertionError("One thread threw an exception", exception.get());
|
throw new RuntimeException("One thread threw an exception", exception.get());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue