commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SANDBOX-389) [BeanUtils2] Implement populate() on DefaultBeanAccessor
Date Tue, 07 Feb 2012 16:22:59 GMT

     [ 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

        

Mime
View raw message