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

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Wed Jul 28 18:59:33 EDT 2010


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

Andrew Lee Rubinger commented on SHRINKWRAP-181:
------------------------------------------------

Yes, and since the contents are stored in a Map you can use the Map contract to get hashCode for all values: http://download-llnw.oracle.com/javase/6/docs/api/java/util/Map.html#hashCode().  Same for .equals()

> 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