[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] Resolved: (COLLECTIONS-264) FastTreeMap forgets the
From:       "Henri Yandell (JIRA)" <jira () apache ! org>
Date:       2007-08-31 9:40:31
Message-ID: 5956612.1188553231213.JavaMail.jira () brutus
[Download RAW message or body]


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic