commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne (JIRA)" <j...@apache.org>
Subject [jira] Created: (COLLECTIONS-228) MultiValueMap put and putAll do not return the correct values
Date Sat, 28 Oct 2006 12:15:16 GMT
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message