Skip to content

Commit 4616826

Browse files
committed
Suppress pmd warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1445352 13f79535-47bb-0310-9956-ffa450edef68
1 parent b178866 commit 4616826

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/apache/commons/cli/GnuParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ else if (options.hasOption(arg.substring(0, 2)))
103103

104104
if (eatTheRest)
105105
{
106-
for (i++; i < arguments.length; i++)
106+
for (i++; i < arguments.length; i++) //NOPMD
107107
{
108108
tokens.add(arguments[i]);
109109
}

src/main/java/org/apache/commons/cli/Parser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ protected void processProperties(Properties properties) throws ParseException
281281
{
282282
opt.addValueForProcessing(value);
283283
}
284-
catch (RuntimeException exp)
284+
catch (RuntimeException exp) //NOPMD
285285
{
286286
// if we cannot add the value don't worry about it
287287
}

0 commit comments

Comments
 (0)