You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2010/10/18 21:18:25 UTC
[jira] Resolved: (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 ]
Sebb resolved COLLECTIONS-364.
------------------------------
Resolution: Fixed
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.