Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinkedMultiValueMap should allow for deep copy of List values [SPR-13201] #17793

Closed
spring-projects-issues opened this issue Jul 6, 2015 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jul 6, 2015

Juergen Hoeller opened SPR-13201 and commented

LinkedMultiValueMap's copy constructor takes a shallow copy of the given Map, reusing the List values there. In order to fix #17777 but also generally, we should allow for taking a deep copy as well.


Issue Links:

Referenced from: commits df8e963

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

I've added public clone() and deepCopy methods to LinkedMultiValueMap as of 4.2, applied within DefaultSubscriptionRegistry but also available for any other use.

Juergen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants