You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2025/01/07 14:07:01 UTC
[jira] [Updated] (BEANUTILS-299) ConvertingWrapDynaBean should allow custom BeanUtilsBean
[ https://issues.apache.org/jira/browse/BEANUTILS-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory updated BEANUTILS-299:
--------------------------------------
Fix Version/s: 2.0.0-M2
(was: 2.0.0-M1)
> ConvertingWrapDynaBean should allow custom BeanUtilsBean
> --------------------------------------------------------
>
> Key: BEANUTILS-299
> URL: https://issues.apache.org/jira/browse/BEANUTILS-299
> Project: Commons BeanUtils
> Issue Type: Improvement
> Components: DynaBean
> Reporter: Heikki Vesalainen
> Priority: Major
> Fix For: 2.0.0-M2
>
>
> ConvertingWrapDynaBean should accept as constructor parameter a custom BeanUtilsBean and use that instead of the static BeanUtils.
> like so:
> BeanUtilsBean beanUtils;
> public ConvertingWrapDynaBean(Object instance, BeanUtilsBean beanUtils) {
> super(instance);
> this.beanUtils = beanUtils;
> }
> public ConvertingWrapDynaBean(Object instance) {
> this(instance, new BeanUtilsBean);
> }
--
This message was sent by Atlassian Jira
(v8.20.10#820010)