commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Parker (JIRA)" <>
Subject [jira] Updated: (COLLECTIONS-332) ListOrderedMap not respecting underlying list
Date Fri, 10 Jul 2009 02:28:14 GMT


Tom Parker updated COLLECTIONS-332:


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

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:
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Map
>            Reporter: Tom Parker
>            Priority: Minor
>         Attachments:
> 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.

View raw message