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 Louis (JIRA)" <ji...@apache.org> on 2007/08/30 18:24:31 UTC

[jira] Created: (COLLECTIONS-264) FastTreeMap forgets the comparator

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


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.


[jira] Resolved: (COLLECTIONS-264) FastTreeMap forgets the comparator

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Closed: (COLLECTIONS-264) FastTreeMap forgets the comparator

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed COLLECTIONS-264.
-------------------------------------


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


[jira] Updated: (COLLECTIONS-264) FastTreeMap forgets the comparator

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell updated COLLECTIONS-264:
--------------------------------------

    Fix Version/s: 3.3

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