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

Thomas Neidhart updated COLLECTIONS-261:
----------------------------------------

    Fix Version/s:     (was: 4.0-beta-1)
                   4.0
    
> 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: 4.0
>
>         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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to