[ 
https://issues.apache.org/jira/browse/COLLECTIONS-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18047779#comment-18047779
 ] 

Gary D. Gregory commented on COLLECTIONS-881:
---------------------------------------------

Good question... PR 669 adopts the copying approach, which involves a behavior 
change. Is this a bug to fix, or will the change risk breaking existing apps?

 

> MultiMapUtils - review the getValuesAsXXX methods for changes to backing Map
> ----------------------------------------------------------------------------
>
>                 Key: COLLECTIONS-881
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-881
>             Project: Commons Collections
>          Issue Type: Bug
>            Reporter: Sebb
>            Priority: Major
>
> As per the TODO comment
> [https://github.com/apache/commons-collections/blob/fab8020385737d57c66ae1ca4164dfeec039741e/src/main/java/org/apache/commons/collections4/MultiMapUtils.java#L138]
> some of the getXXX methods may allow changes to the returned collection to 
> affect the backing Map.
> This needs fixing and/or documenting



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to