commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1439423 - in /commons/proper/cli/trunk/src/main/java/org/apache/commons/cli: HelpFormatter.java Parser.java
Date Mon, 28 Jan 2013 14:31:13 GMT
Author: tn
Date: Mon Jan 28 14:31:13 2013
New Revision: 1439423

URL: http://svn.apache.org/viewvc?rev=1439423&view=rev
Log:
More typos, another raw type warning.

Modified:
    commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/HelpFormatter.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/HelpFormatter.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/HelpFormatter.java?rev=1439423&r1=1439422&r2=1439423&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/HelpFormatter.java (original)
+++ commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/HelpFormatter.java Mon Jan
28 14:31:13 2013
@@ -128,7 +128,7 @@ public class HelpFormatter
     public int defaultDescPad = DEFAULT_DESC_PAD;
 
     /**
-     * the string to display at the begining of the usage statement
+     * the string to display at the beginning of the usage statement
      *
      * @deprecated Scope will be made private for next major version
      * - use get/setSyntaxPrefix methods instead.

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=1439423&r1=1439422&r2=1439423&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 Mon Jan 28 14:31:13
2013
@@ -73,7 +73,7 @@ public abstract class Parser implements 
 
     /**
      * Parses the specified <code>arguments</code> based
-     * on the specifed {@link Options}.
+     * on the specified {@link Options}.
      *
      * @param options the <code>Options</code>
      * @param arguments the <code>arguments</code>
@@ -254,7 +254,7 @@ public abstract class Parser implements 
             return;
         }
 
-        for (Enumeration e = properties.propertyNames(); e.hasMoreElements();)
+        for (Enumeration<?> e = properties.propertyNames(); e.hasMoreElements();)
         {
             String option = e.nextElement().toString();
             



Mime
View raw message