commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (COLLECTIONS-264) FastTreeMap forgets the comparator
Date Fri, 31 Aug 2007 09:40:31 GMT

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

Henri Yandell resolved COLLECTIONS-264.
---------------------------------------

    Resolution: Fixed

svn ci -m "Applying suggested fix from Thomas Louis in COLLECTIONS-264 - the clear() and CollectionView.clear()
methods were losing the TreeMap's comparator" src/

Sending        src/java/org/apache/commons/collections/FastTreeMap.java
Transmitting file data .
Committed revision 571412.

> FastTreeMap forgets the comparator
> ----------------------------------
>
>                 Key: COLLECTIONS-264
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-264
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Map
>    Affects Versions: 3.2
>         Environment: all
>            Reporter: Thomas Louis
>             Fix For: 3.3
>
>
> In line 359 and 582 of the current 3.2 release you should replace
>                 map = new TreeMap()
> with
>                 map = new TreeMap(map.comparator());
> Otherwise the underlaying TreeMap looses ist comparator.

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


Mime
View raw message