commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1461652 - /commons/proper/ognl/trunk/src/test/java/org/apache/commons/ognl/test/OgnlTestCase.java
Date Wed, 27 Mar 2013 15:29:57 GMT
Author: simonetripodi
Date: Wed Mar 27 15:29:57 2013
New Revision: 1461652

URL: http://svn.apache.org/r1461652
Log:
suppressed rawtype warning by specifying generics

Modified:
    commons/proper/ognl/trunk/src/test/java/org/apache/commons/ognl/test/OgnlTestCase.java

Modified: commons/proper/ognl/trunk/src/test/java/org/apache/commons/ognl/test/OgnlTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/src/test/java/org/apache/commons/ognl/test/OgnlTestCase.java?rev=1461652&r1=1461651&r2=1461652&view=diff
==============================================================================
--- commons/proper/ognl/trunk/src/test/java/org/apache/commons/ognl/test/OgnlTestCase.java
(original)
+++ commons/proper/ognl/trunk/src/test/java/org/apache/commons/ognl/test/OgnlTestCase.java
Wed Mar 27 15:29:57 2013
@@ -203,7 +203,7 @@ public abstract class OgnlTestCase
             }
 
             if (testedResult instanceof Class) {
-                Assert.assertTrue(Exception.class.isAssignableFrom((Class) testedResult));
+                Assert.assertTrue(Exception.class.isAssignableFrom((Class<?>) testedResult));
             } else {
             	throw ex;
             }



Mime
View raw message