commons-issues mailing list archives

[jira] Created: (CLI-187) OptionBuilder working incorrectly at first Invocation of create(...)

Date

Sat, 01 Aug 2009 08:14:14 GMT

OptionBuilder working incorrectly at first Invocation of create(...)
--------------------------------------------------------------------
Key: CLI-187
URL: https://issues.apache.org/jira/browse/CLI-187
Project: Commons CLI
Issue Type: Bug
Components: Options definition
Affects Versions: 1.3
Reporter: Kristoff Kiefer
Priority: Minor
OptionBuilder is working incorrectly when invoked for the first time. Since "argName" is null
the arg-text will not be initialized for the first option created. argName is set on the call
to reset() though.
So after the first Option created OptionBuilder works fine.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.