You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2007/06/29 09:10:23 UTC

svn commit: r551816 - /jakarta/commons/proper/cli/branches/cli-1.0.x/src/java/org/apache/commons/cli/Option.java

Author: bayard
Date: Fri Jun 29 00:10:22 2007
New Revision: 551816

URL: http://svn.apache.org/viewvc?view=rev&rev=551816
Log:
Applying second patch from CLI-135 - fixing the mistake of having an Object and not a String as the parameter to addValue. 

Modified:
    jakarta/commons/proper/cli/branches/cli-1.0.x/src/java/org/apache/commons/cli/Option.java

Modified: jakarta/commons/proper/cli/branches/cli-1.0.x/src/java/org/apache/commons/cli/Option.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/cli/branches/cli-1.0.x/src/java/org/apache/commons/cli/Option.java?view=diff&rev=551816&r1=551815&r2=551816
==============================================================================
--- jakarta/commons/proper/cli/branches/cli-1.0.x/src/java/org/apache/commons/cli/Option.java (original)
+++ jakarta/commons/proper/cli/branches/cli-1.0.x/src/java/org/apache/commons/cli/Option.java Fri Jun 29 00:10:22 2007
@@ -649,7 +649,7 @@
         this.values.clear();
     }
 
-    public boolean addValue(Object object) {
+    public boolean addValue(String value) {
         throw new UnsupportedOperationException(
            "The addValue method is not intended for client use. " + 
            "Subclasses should use the addValueForProcessing method instead. "



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org