commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r992106 - /commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltClass.java
Date Thu, 02 Sep 2010 20:29:25 GMT
Author: simonetripodi
Date: Thu Sep  2 20:29:25 2010
New Revision: 992106

URL: http://svn.apache.org/viewvc?rev=992106&view=rev
Log:
fixed PMD warning "Avoid empty catch blocks."

Modified:
    commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltClass.java

Modified: commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltClass.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltClass.java?rev=992106&r1=992105&r2=992106&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltClass.java
(original)
+++ commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltClass.java
Thu Sep  2 20:29:25 2010
@@ -78,14 +78,10 @@ public class FinderFromDfltClass extends
         try {
             rulesClass = digester.getClassLoader().loadClass(rulesClassName);
         } catch(ClassNotFoundException cnfe) {
-            // ok, ignore
-        }
-
-        if (rulesClass == null) {
             // nope, no rule-info class in the classpath
             return null;
         }
-        
+
         if (methodName == null) {
             methodName = DFLT_METHOD_NAME;
         }



Mime
View raw message