[
https://issues.apache.org/jira/browse/COLLECTIONS-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henri Yandell closed COLLECTIONS-261.
-------------------------------------
Resolution: Fixed
Fix Version/s: 3.3
> Flat3Map.remove() does not return the correct value when size <= 3
> ------------------------------------------------------------------
>
> Key: COLLECTIONS-261
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-261
> Project: Commons Collections
> Issue Type: Bug
> Components: Map
> Affects Versions: 3.2
> Environment: Windows XP, SUN JDK 1.5.0_06
> Reporter: ori
> Fix For: 3.3
>
> Attachments: COLLECTIONS-261.patch
>
>
> final Flat3Map m = new Flat3Map();
> m.put( new Integer( 1 ), new Integer( 1 ) );
> m.put( new Integer( 0 ), new Integer( 0 ) );
> System.out.println( m.remove( new Integer( 1 ) ) );
> The above code will print "0" when it should print "1"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.