commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COLLECTIONS-228) MultiValueMap put and putAll do not return the correct values
Date Sat, 07 Nov 2015 20:48:11 GMT

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

Thomas Neidhart updated COLLECTIONS-228:
----------------------------------------
    Fix Version/s: 3.2.2

> 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: 3.2.2, 4.0-alpha1, 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message