You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Stephen Colebourne (JIRA)" <ji...@apache.org> on 2006/07/20 00:01:15 UTC

[jira] Updated: (COLLECTIONS-12) ListOrderedSet add results in separate objects in set/list if equal

     [ http://issues.apache.org/jira/browse/COLLECTIONS-12?page=all ]

Stephen Colebourne updated COLLECTIONS-12:
------------------------------------------

    Bugzilla Id:   (was: 37338)
    Component/s: Set
        Summary: ListOrderedSet add results in separate objects in set/list if equal  (was: [collections] ListOrderedSet add results in separate objects in set/list if equal)

> ListOrderedSet add results in separate objects in set/list if equal
> -------------------------------------------------------------------
>
>                 Key: COLLECTIONS-12
>                 URL: http://issues.apache.org/jira/browse/COLLECTIONS-12
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Set
>    Affects Versions: 3.1
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Gene Hart
>
> If you add an object to ListOrderedSet, and then try to replace the object with
> add and the objects are different but equals() is true, you will have two
> different objects in the internal list and set so after you do an add, doing a
> listorderedset.get(i) will return the old object.

-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org