commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CLI-187) OptionBuilder working incorrectly at first Invocation of create(...)
Date Sat, 19 Jun 2010 20:22:24 GMT

     [ https://issues.apache.org/jira/browse/CLI-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Bourg resolved CLI-187.
--------------------------------

    Resolution: Duplicate

Resolving as duplicate of CLI-186 since it's basically the reason that explains this bug.

> 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.1
>            Reporter: Kristoff Kiefer
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: OptionBuilder.patch
>
>
> 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.


Mime
View raw message