[ http://issues.apache.org/jira/browse/BEANUTILS-237?page=all ]
Henri Yandell updated BEANUTILS-237:
------------------------------------
Bugzilla Id: (was: 21076)
Fix Version/s: LATER THAN 1.8.0
> [beanutils] Add "aggressive" mode for BeanUtils.copyProperty()
> --------------------------------------------------------------
>
> Key: BEANUTILS-237
> URL: http://issues.apache.org/jira/browse/BEANUTILS-237
> Project: Commons BeanUtils
> Issue Type: Improvement
> Components: Bean / Property Utils
> Environment: Operating System: other
> Platform: Other
> Reporter: apachebugs
> Priority: Minor
> Fix For: LATER THAN 1.8.0
>
>
> Currently, the Beanutils.copyProperty() method behaves as per the javadoc:
> "If the specified bean does not have a property of the specified name, or the
> property is read only on the destination bean, return without doing anything"
> It would be good if the method could take an optional extra parameter which
> indicated whether or not this behaviour should be more aggressive, i.e. if the
> bean does not have a read-write property of the appropriate name, then throw
> an
> exception. An overloaded copyProperty() is the obvious choice.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]