[
https://issues.apache.org/jira/browse/CLI-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518651
]
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: https://issues.apache.org/jira/browse/CLI-141
> 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.