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.

Reply via email to