commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r1145035 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java
Date Mon, 11 Jul 2011 06:09:39 GMT
Author: bayard
Date: Mon Jul 11 06:09:39 2011
New Revision: 1145035

URL: http://svn.apache.org/viewvc?rev=1145035&view=rev
Log:
Adding NOPMD statement to empty catch

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java?rev=1145035&r1=1145034&r2=1145035&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java Mon Jul
11 06:09:39 2011
@@ -801,7 +801,8 @@ public class ClassUtils {
                     return getClass(classLoader, className.substring(0, lastDotIndex) +
                             INNER_CLASS_SEPARATOR_CHAR + className.substring(lastDotIndex
+ 1),
                             initialize);
-                } catch (ClassNotFoundException ex2) {
+                } catch (ClassNotFoundException ex2) { // NOPMD
+                    // ignore exception
                 }
             }
 



Mime
View raw message