Skip to content

Commit bfe6bd8

Browse files
committed
Applying second patch from CLI-135 - fixing the mistake of having an Object and not a String as the parameter to addValue.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/cli/branches/cli-1.0.x@551816 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9774480 commit bfe6bd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/java/org/apache/commons/cli/Option.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ void clearValues() {
649649
this.values.clear();
650650
}
651651

652-
public boolean addValue(Object object) {
652+
public boolean addValue(String value) {
653653
throw new UnsupportedOperationException(
654654
"The addValue method is not intended for client use. " +
655655
"Subclasses should use the addValueForProcessing method instead. "

0 commit comments

Comments
 (0)