[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-389v2.txt I finally got the time to review and fix my patch. I re-implemented {{equals()}} on {{TestBean}} using commons lang 3. Commons lang 3.1 has been added as a dependency in test scope to pom.xml. Now everything should be fine with {{populate}()}. Regards, Benedikt [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, SANDBOX-389v2.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
[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