You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2006/02/28 17:46:41 UTC

[jira] Created: (GERONIMO-1661) Version class does not implement equals and hashCode

Version class does not implement equals and hashCode
----------------------------------------------------

         Key: GERONIMO-1661
         URL: http://issues.apache.org/jira/browse/GERONIMO-1661
     Project: Geronimo
        Type: Bug
  Components: kernel  
    Versions: 1.0.1    
    Reporter: David Jencks
 Assigned to: David Jencks 
     Fix For: 1.0.1


we try to avoid duplicate Artifacts by storing them in LinkedHashSets but this is foiled by Version not implementing equals and hashCode.  I would think this would be a problem for maven 2 as well.

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


[jira] Closed: (GERONIMO-1661) Version class does not implement equals and hashCode

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1661?page=all ]
     
David Jencks closed GERONIMO-1661:
----------------------------------

    Resolution: Fixed

fixed in rev 381701

> Version class does not implement equals and hashCode
> ----------------------------------------------------
>
>          Key: GERONIMO-1661
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1661
>      Project: Geronimo
>         Type: Bug
>   Components: kernel
>     Versions: 1.0.1
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.0.1

>
> we try to avoid duplicate Artifacts by storing them in LinkedHashSets but this is foiled by Version not implementing equals and hashCode.  I would think this would be a problem for maven 2 as well.

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