commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1163733 - /commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/config/ConfigCatalogRule.java
Date Wed, 31 Aug 2011 18:23:28 GMT
Author: simonetripodi
Date: Wed Aug 31 18:23:28 2011
New Revision: 1163733

URL: http://svn.apache.org/viewvc?rev=1163733&view=rev
Log:
fixed generic types warnings

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

Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/config/ConfigCatalogRule.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/config/ConfigCatalogRule.java?rev=1163733&r1=1163732&r2=1163733&view=diff
==============================================================================
--- commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/config/ConfigCatalogRule.java
(original)
+++ commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/config/ConfigCatalogRule.java
Wed Aug 31 18:23:28 2011
@@ -104,7 +104,7 @@ class ConfigCatalogRule extends Rule {
 
         // Create and register a new Catalog instance if necessary
         if (catalog == null) {
-            Class clazz = digester.getClassLoader().loadClass(catalogClass);
+            Class<?> clazz = digester.getClassLoader().loadClass(catalogClass);
             catalog = (Catalog) clazz.newInstance();
             if (nameValue == null) {
                 factory.setCatalog(catalog);



Mime
View raw message