commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bjorn Townsend (JIRA)" <>
Subject [jira] Updated: (CLI-141) CLI Option reports arguments incorrectly on toString()
Date Tue, 13 Nov 2007 23:22:43 GMT


Bjorn Townsend updated CLI-141:

    Attachment: CLI-141-clean.patch

Cleaned up the patch a little bit. It applies to the 1.x branch for me without any problems.

The hasArg instance that Henri thought Henning missed is not an issue -- it's just a local
variable. +1 to adopting this.

> CLI Option reports arguments incorrectly on toString()
> ------------------------------------------------------
>                 Key: CLI-141
>                 URL:
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: CLI-1.x
>    Affects Versions: 1.1
>            Reporter: Henning Schmiedehausen
>            Priority: Minor
>             Fix For: 1.2
>         Attachments: CLI-141-clean.patch, option.patch
> The Option class contains some logic around the "hasArg" boolean that seems to be cruft
and no longer works correctly. There is no need for this boolean anymore and its only usage
could be replaced with hasArg() / hasArgs() calls.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message