[
https://issues.apache.org/jira/browse/PIVOT-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477992#comment-13477992
]
Roger Whitcomb commented on PIVOT-558:
--------------------------------------
To my mind, adding these either to the Map interface or a Map.Util helper class
should be a 2.1 feature. I think it would help developers to have the Pivot
Collections interfaces look more like the java.util.Collections, so I'd like to
take that on as a project for 2.1.
> 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