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

Holger S. updated CLI-120:
--------------------------

    Attachment: ArgumentEqualsPatch.diff
    
> equals and hashCode are incomplete
> ----------------------------------
>
>                 Key: CLI-120
>                 URL: https://issues.apache.org/jira/browse/CLI-120
>             Project: Commons CLI
>          Issue Type: Improvement
>          Components: CLI-2.x
>            Reporter: Andrew Shirley
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: ArgumentEqualsPatch.diff
>
>
> there are many classes with equals and hashCode implemented however there are 
> also classes which don't. We need to be consistent and if we are using equals 
> then we need to define it for all classes in the affected hierarchy. For 
> example OptionImpl has an equals but ParentImpl which extends OptionImpl and 
> has several new members doesn't.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to