-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Introducing Context::putAllMap #3102
Conversation
New method for easier write capability to `Context` when the user is interacting with a generic `Map` instead of a `Context` and wants all values to be added without creating an additional `ContextView` holder. Resolves #3080
@@ -283,6 +280,20 @@ default Context putAll(ContextView other) { | |||
return newContext; | |||
} | |||
|
|||
default Context putAllMap(Map<?, ?> from) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will add javadoc shortly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great 👍
8daa89f
to
75c4817
Compare
@chemicL this PR seems to have been merged on a maintenance branch, please ensure the change is merge-forwarded to intermediate maintenance branches and up to |
New method for easier write capability to
Context
when the useris interacting with a generic
Map
instead of aContext
and wantsall values to be added without creating an additional
ContextView
holder.Resolves #3080