commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning Schmiedehausen (JIRA)" <>
Subject [jira] Commented: (CLI-141) CLI Option reports arguments incorrectly on toString()
Date Thu, 09 Aug 2007 07:49:42 GMT


Henning Schmiedehausen commented on CLI-141:

You can not serialize the class currently. It is not serializable. :-)

It has no version, because it needs no version. I don't know anything about a serialization
standard @ Apache, but I consider 1L and incrementing to be more readable.

I don't really care about the version, as long as the classes become serializable. I have
some time this weekend, so I could apply the patches, unless someone objects strongly. 

> 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
>         Attachments: 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