commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1164503 - /commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainListener.java
Date Fri, 02 Sep 2011 12:27:54 GMT
Author: simonetripodi
Date: Fri Sep  2 12:27:54 2011
New Revision: 1164503

URL: http://svn.apache.org/viewvc?rev=1164503&view=rev
Log:
just muted the class generic warning

Modified:
    commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainListener.java

Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainListener.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainListener.java?rev=1164503&r1=1164502&r2=1164503&view=diff
==============================================================================
--- commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainListener.java
(original)
+++ commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainListener.java
Fri Sep  2 12:27:54 2011
@@ -197,7 +197,7 @@ public class ChainListener implements Se
                 if (loader == null) {
                     loader = this.getClass().getClassLoader();
                 }
-                Class clazz = loader.loadClass(ruleSet);
+                Class<?> clazz = loader.loadClass(ruleSet);
                 parser.setRuleSet((RuleSet) clazz.newInstance());
             } catch (Exception e) {
                 throw new RuntimeException("Exception initalizing RuleSet '"



Mime
View raw message