You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2013/09/18 23:59:25 UTC

svn commit: r1524592 - /lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java

Author: rmuir
Date: Wed Sep 18 21:59:24 2013
New Revision: 1524592

URL: http://svn.apache.org/r1524592
Log:
LUCENE-5223: fix compile

Modified:
    lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java

Modified: lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java?rev=1524592&r1=1524591&r2=1524592&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java (original)
+++ lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java Wed Sep 18 21:59:24 2013
@@ -970,7 +970,7 @@ public class TestBackwardsCompatibility 
       try {
         upgrader = IndexUpgrader.parseArgs(args.toArray(new String[0]));
       } catch (Exception e) {
-        throw new AssertionError("unable to parse args: " + args, e);
+        throw new RuntimeException("unable to parse args: " + args, e);
       }
       upgrader.upgrade();