File tree Expand file tree Collapse file tree
src/java/org/apache/commons/cli Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/*
2- * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//cli/src/java/org/apache/commons/cli/PosixParser.java,v 1.1 2002/06/16 23:00:58 jkeyes Exp $
3- * $Revision: 1.1 $
4- * $Date: 2002/06/16 23:00:58 $
2+ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//cli/src/java/org/apache/commons/cli/PosixParser.java,v 1.2 2002/06/19 21:31:16 jkeyes Exp $
3+ * $Revision: 1.2 $
4+ * $Date: 2002/06/19 21:31:16 $
55 *
66 * ====================================================================
77 *
@@ -145,7 +145,7 @@ else if ( eachArg.length() == 2 ) {
145145
146146 for ( int i = 1 ; i < eachArg .length () ; ++i ) {
147147 String optStr = "-" + eachArg .charAt (i );
148- Option opt = (Option ) options .getOption ( "" + eachArg .charAt (i ) );
148+ Option opt = (Option ) options .getOption ( String . valueOf ( eachArg .charAt (i ) ) );
149149
150150 if ( (opt != null ) && (opt .hasArg ()) ) {
151151 // If the current option has an argument,
You can’t perform that action at this time.
0 commit comments