lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpou...@apache.org
Subject svn commit: r1441764 - /lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/index/BaseTermVectorsFormatTestCase.java
Date Sat, 02 Feb 2013 15:32:09 GMT
Author: jpountz
Date: Sat Feb  2 15:32:09 2013
New Revision: 1441764

URL: http://svn.apache.org/viewvc?rev=1441764&view=rev
Log:
Fix compilation under Java 6.

Modified:
    lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/index/BaseTermVectorsFormatTestCase.java

Modified: lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/index/BaseTermVectorsFormatTestCase.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/index/BaseTermVectorsFormatTestCase.java?rev=1441764&r1=1441763&r2=1441764&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/index/BaseTermVectorsFormatTestCase.java
(original)
+++ lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/index/BaseTermVectorsFormatTestCase.java
Sat Feb  2 15:32:09 2013
@@ -722,7 +722,7 @@ public abstract class BaseTermVectorsFor
       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());
       }
     }
   }



Mime
View raw message