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