commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ori (JIRA)" <j...@apache.org>
Subject [jira] Created: (COLLECTIONS-261) Flat3Map.remove() does not return the correct value when size <= 3
Date Sat, 18 Aug 2007 14:14:30 GMT
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


        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.


Mime
View raw message