MultiValueMap put and putAll do not return the correct values
-------------------------------------------------------------

                 Key: COLLECTIONS-228
                 URL: http://issues.apache.org/jira/browse/COLLECTIONS-228
             Project: Commons Collections
          Issue Type: Bug
          Components: Map
    Affects Versions: 3.2
            Reporter: Stephen Colebourne
            Priority: Minor
             Fix For: 3.3, Generics


MultiValueMap put and putAll do not return the correct values.

putAll(Object, Collection) should return true if the map is changed. But if the 
key is new then this behaviour fails.

put(Object, Object) should return the added value if the map is changed. But if 
the key is new then this behaviour fails.

This was hidden because the test case referred to MultiHashMap and not 
MultValueMap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to