commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r551816 - /jakarta/commons/proper/cli/branches/cli-1.0.x/src/java/org/apache/commons/cli/Option.java
Date Fri, 29 Jun 2007 07:10:23 GMT
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


Mime
View raw message