commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1439189 - in /commons/proper/cli/trunk/src/main/java/org/apache/commons/cli: Parser.java PatternOptionBuilder.java
Date Sun, 27 Jan 2013 21:36:21 GMT
Author: tn
Date: Sun Jan 27 21:36:20 2013
New Revision: 1439189

URL: http://svn.apache.org/viewvc?rev=1439189&view=rev
Log:
Fix typos.

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

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=1439189&r1=1439188&r2=1439189&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 Sun Jan 27 21:36:20
2013
@@ -104,7 +104,7 @@ public abstract class Parser implements 
 
     /**
      * Parses the specified <code>arguments</code>
-     * based on the specifed {@link Options}.
+     * based on the specified {@link Options}.
      *
      * @param options         the <code>Options</code>
      * @param arguments       the <code>arguments</code>
@@ -306,7 +306,7 @@ public abstract class Parser implements 
      */
     protected void checkRequiredOptions() throws MissingOptionException
     {
-        // if there are required options that have not been processsed
+        // if there are required options that have not been processed
         if (!getRequiredOptions().isEmpty())
         {
             throw new MissingOptionException(getRequiredOptions());
@@ -358,7 +358,7 @@ public abstract class Parser implements 
 
     /**
      * Process the Option specified by <code>arg</code> using the values
-     * retrieved from the specfied iterator <code>iter</code>.
+     * retrieved from the specified iterator <code>iter</code>.
      *
      * @param arg The String value representing an Option
      * @param iter The iterator over the flattened command line arguments.

Modified: commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/PatternOptionBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/PatternOptionBuilder.java?rev=1439189&r1=1439188&r2=1439189&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/PatternOptionBuilder.java
(original)
+++ commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/PatternOptionBuilder.java
Sun Jan 27 21:36:20 2013
@@ -33,8 +33,8 @@ import java.util.Date;
  * <tr><td>a</td><td>-a flag</td></tr>
  * <tr><td>b@</td><td>-b [classname]</td></tr>
  * <tr><td>c&gt;</td><td>-c [filename]</td></tr>
- * <tr><td>d+</td><td>-d [classname] (creates object via empty contructor)</td></tr>
- * <tr><td>e%</td><td>-e [number] (creates Double/Long instance depeding
on existing of a '.')</td></tr>
+ * <tr><td>d+</td><td>-d [classname] (creates object via empty constructor)</td></tr>
+ * <tr><td>e%</td><td>-e [number] (creates Double/Long instance depending
on existing of a '.')</td></tr>
  * <tr><td>f/</td><td>-f [url]</td></tr>
  * <tr><td>g:</td><td>-g [string]</td></tr>
  * </table>



Mime
View raw message