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

Tom Parker updated COLLECTIONS-332:
-----------------------------------

    Attachment: ListOrderedMapTest.java

Test that demonstrates the issue with both CaseInsensitiveMap or IdentityMap as 
the underlying map.

Note that this set of tests is not comprehensive (other methods than 
.firstKey() can demonstrate the issue)

> ListOrderedMap not respecting underlying list
> ---------------------------------------------
>
>                 Key: COLLECTIONS-332
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-332
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Map
>            Reporter: Tom Parker
>            Priority: Minor
>         Attachments: ListOrderedMapTest.java
>
>
> When decorating either CaseInsensitiveMap or IdentityMap (and I believe this 
> will impact any java.util.TreeMap built with a non-.equals() Comparator), 
> ListOrderedMap responds inconsistently with the underlying map.  The ordering 
> seems to be operating off .equals() rather than the actual contents of the 
> underlying map. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to