[
https://issues.apache.org/jira/browse/PIVOT-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479059#comment-13479059
]
Roger Whitcomb commented on PIVOT-558:
--------------------------------------
I still wanted to investigate moving this into Map (or Map.Util) for 2.1 --- so
not sure how to do that? Maybe make a new issue for 2.1 and reference this
one? Or leave this open still and mark for 2.1?? What do you think?
> BeanAdapter should have a putAll method to allow multiple property set in one
> method call...especially useful when setting properties from a JSON string
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: PIVOT-558
> URL: https://issues.apache.org/jira/browse/PIVOT-558
> Project: Pivot
> Issue Type: Improvement
> Components: core-beans
> Reporter: Appddevvv
> Assignee: Roger Whitcomb
> Priority: Minor
> Fix For: 2.1, 2.0.3
>
> Attachments: bean.patch
>
>
> API:
> public void putAll(Map<String, ?> values)
> public boolean putAll(Map<String, ?> values, boolean ignoreErrors)
> where ignore errors indicates that any errors/exceptions thrown should be
> caught. If any are thrown or errors occur, true is returned, otherwise false.
> I'll submit a patch if you accept this improvement.
--
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