commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1445352 - in /commons/proper/cli/trunk/src/main/java/org/apache/commons/cli: GnuParser.java Parser.java
Date Tue, 12 Feb 2013 20:48:19 GMT
Author: tn
Date: Tue Feb 12 20:48:19 2013
New Revision: 1445352

URL: http://svn.apache.org/r1445352
Log:
Suppress pmd warnings.

Modified:
    commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/GnuParser.java
    commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Parser.java

Modified: commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/GnuParser.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/GnuParser.java?rev=1445352&r1=1445351&r2=1445352&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/GnuParser.java (original)
+++ commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/GnuParser.java Tue Feb 12
20:48:19 2013
@@ -103,7 +103,7 @@ public class GnuParser extends Parser
 
             if (eatTheRest)
             {
-                for (i++; i < arguments.length; i++)
+                for (i++; i < arguments.length; i++) //NOPMD
                 {
                     tokens.add(arguments[i]);
                 }

Modified: commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Parser.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Parser.java?rev=1445352&r1=1445351&r2=1445352&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Parser.java (original)
+++ commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Parser.java Tue Feb 12 20:48:19
2013
@@ -281,7 +281,7 @@ public abstract class Parser implements 
                         {
                             opt.addValueForProcessing(value);
                         }
-                        catch (RuntimeException exp)
+                        catch (RuntimeException exp) //NOPMD
                         {
                             // if we cannot add the value don't worry about it
                         }



Mime
View raw message