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:
Adrien Grand 2013-02-02 15:32:09 +00:00
parent 7f0284099e
commit 58f2f88254
1 changed files with 1 additions and 1 deletions

View File

@ -722,7 +722,7 @@ public abstract class BaseTermVectorsFormatTestCase extends LuceneTestCase {
writer.close();
dir.close();
if (exception.get() != null) {
throw new AssertionError("One thread threw an exception", exception.get());
throw new RuntimeException("One thread threw an exception", exception.get());
}
}
}