You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (Updated) (JIRA)" <ji...@apache.org> on 2012/02/07 17:22:59 UTC
[jira] [Updated] (SANDBOX-389) [BeanUtils2] Implement populate() on
DefaultBeanAccessor
[ https://issues.apache.org/jira/browse/SANDBOX-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benedikt Ritter updated SANDBOX-389:
------------------------------------
Attachment: SANDBOX-389.txt
I've attached a patch:
* Implemented {{populate()}} on {{DefaultBeanAccessor}} as discussed
** passing null will result in {{NullPointerException}}
** null keys will be ignored
** null values will be accepted for non primitive properties
** null values will raise a {{IllegalArgumentAcception}} for primitive properties
** values for properties that are read only will be ignored
** unknown keys will be ignored
* Added throws declaration to {{BeanAccessor}} interface
* Added {{equals()}} to TestBean for testing purpose (will be useful for {{clone()}} as well)
> [BeanUtils2] Implement populate() on DefaultBeanAccessor
> ---------------------------------------------------------
>
> Key: SANDBOX-389
> URL: https://issues.apache.org/jira/browse/SANDBOX-389
> Project: Commons Sandbox
> Issue Type: Improvement
> Components: BeanUtils2
> Affects Versions: Nightly Builds
> Reporter: Benedikt Ritter
> Attachments: SANDBOX-389.txt
>
>
> Implement {{populate()}} as discussed on the ML (see http://markmail.org/thread/niv47muvrms56pqr)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira