[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKWRAP-181) Implement hashCode and equals semantics for Archives

Chris Wash (JIRA) jira-events at lists.jboss.org
Wed Jul 28 18:45:33 EDT 2010


    [ https://jira.jboss.org/browse/SHRINKWRAP-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12541694#action_12541694 ] 

Chris Wash commented on SHRINKWRAP-181:
---------------------------------------

I want to use name and contents as hash seeds, and check the equality by performing equality checks on both values, "and"ing the results...

That meets the criteria you outlined (i.e., may satisfy equals but hash to a different value), right?

> Implement hashCode and equals semantics for Archives
> ----------------------------------------------------
>
>                 Key: SHRINKWRAP-181
>                 URL: https://jira.jboss.org/browse/SHRINKWRAP-181
>             Project: ShrinkWrap
>          Issue Type: Feature Request
>          Components: impl-base
>            Reporter: Andrew Lee Rubinger
>            Assignee: Chris Wash
>
> Implement value equality for archives, based on both name and contents.  Will also need to be reflected in all "wrapper" types (ie. ContainerBase).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list