commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r588449 - /commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java
Date Fri, 26 Oct 2007 00:38:47 GMT
Author: dion
Date: Thu Oct 25 17:38:46 2007
New Revision: 588449

URL: http://svn.apache.org/viewvc?rev=588449&view=rev
Log:
Remove specific exception

Modified:
    commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java

Modified: commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java?rev=588449&r1=588448&r2=588449&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java (original)
+++ commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java Thu Oct
25 17:38:46 2007
@@ -521,8 +521,6 @@
 
 
     /**
-      *  GMJ : disabled - need to fix
-      *
       *  test some simple conditions
       */
     public void testNotConditionsWithDots()
@@ -732,11 +730,8 @@
             assertExpression(jc, "foo.charAt(-2)", null);
             fail("this test should have thrown an exception" );
         }
-        catch (IndexOutOfBoundsException e) {
-            // expected behaviour
-        }
         catch (Exception e) {
-            throw e;
+            // expected behaviour
         }
     }
 



Mime
View raw message