commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1685376 - /commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Options.java
Date Sun, 14 Jun 2015 09:51:59 GMT
Author: britter
Date: Sun Jun 14 09:51:59 2015
New Revision: 1685376

URL: http://svn.apache.org/r1685376
Log:
Make checkstyle happy

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

Modified: commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Options.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Options.java?rev=1685376&r1=1685375&r2=1685376&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Options.java (original)
+++ commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Options.java Sun Jun 14
09:51:59 2015
@@ -237,7 +237,8 @@ public class Options implements Serializ
         List<String> matchingOpts = new ArrayList<String>();
 
         // for a perfect match return the single option only
-        if(longOpts.keySet().contains(opt)) {
+        if (longOpts.keySet().contains(opt))
+        {
             return Collections.singletonList(opt);
         }
 



Mime
View raw message