commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1164670 - /commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainServlet.java
Date Fri, 02 Sep 2011 18:36:22 GMT
Author: simonetripodi
Date: Fri Sep  2 18:36:21 2011
New Revision: 1164670

URL: http://svn.apache.org/viewvc?rev=1164670&view=rev
Log:
muted Class generic type warnings

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

Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainServlet.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainServlet.java?rev=1164670&r1=1164669&r2=1164670&view=diff
==============================================================================
--- commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainServlet.java
(original)
+++ commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/ChainServlet.java
Fri Sep  2 18:36:21 2011
@@ -193,7 +193,7 @@ public class ChainServlet extends HttpSe
                 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 ServletException("Exception initalizing RuleSet '"



Mime
View raw message