You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2015/11/27 22:12:14 UTC
[jira] [Closed] (COLLECTIONS-364) DualTreeBidiMap.readObject() uses
wrong comparator to create reverseMap
[ https://issues.apache.org/jira/browse/COLLECTIONS-364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Neidhart closed COLLECTIONS-364.
---------------------------------------
> DualTreeBidiMap.readObject() uses wrong comparator to create reverseMap
> -----------------------------------------------------------------------
>
> Key: COLLECTIONS-364
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-364
> Project: Commons Collections
> Issue Type: Bug
> Components: BidiMap
> Reporter: Sebb
> Assignee: Sebb
>
> DualTreeBidiMap.readObject() uses the wrong comparator to create reverseMap. The code reads:
> bq. reverseMap = new TreeMap(comparator);
> it should read:
> bq. reverseMap = new TreeMap(valueComparator);
> Note: this was found when trying to fix generics warnings.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)