You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2013/02/28 21:25:15 UTC

[jira] [Resolved] (COLLECTIONS-228) MultiValueMap put and putAll do not return the correct values

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

Thomas Neidhart resolved COLLECTIONS-228.
-----------------------------------------

    Resolution: Fixed
    
> MultiValueMap put and putAll do not return the correct values
> -------------------------------------------------------------
>
>                 Key: COLLECTIONS-228
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-228
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Map
>    Affects Versions: 3.2
>            Reporter: Stephen Colebourne
>            Assignee: Stephen Colebourne
>            Priority: Minor
>             Fix For: 4.0
>
>
> 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, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira