commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Müller (JIRA) <>
Subject [jira] [Created] (CLI-215) String as default Option type
Date Fri, 08 Apr 2011 07:37:06 GMT
String as default Option type

                 Key: CLI-215
             Project: Commons CLI
          Issue Type: Bug
          Components: CLI-1.x
    Affects Versions: 1.2
            Reporter: Manuel Müller
            Priority: Minor

getParsedOptionValue returns null unless Option.type gets explicitly set. The user expects
it to be String unless set to any other type.
This coult be either fixed in the Option constructor or in CommandLine.getParsedOptionValue.
Mentioning this behaviour in Javadoc would be advisable.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message