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-573) Add a New Method, `copyNonNullProperties`, to the BeanUtils Library
[ https://issues.apache.org/jira/browse/BEANUTILS-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory updated BEANUTILS-573:
--------------------------------------
Fix Version/s: 2.0.0-M2
(was: 2.0.0-M1)
> Add a New Method, `copyNonNullProperties`, to the BeanUtils Library
> -------------------------------------------------------------------
>
> Key: BEANUTILS-573
> URL: https://issues.apache.org/jira/browse/BEANUTILS-573
> Project: Commons BeanUtils
> Issue Type: New Feature
> Components: Bean / Property Utils
> Affects Versions: 1.9.4, 2.0.0-M1
> Reporter: dawei xiong
> Priority: Major
> Labels: features, starter
> Fix For: 1.9.4, 2.0.0-M2
>
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> When we input an incomplete object (i.e., an object where not all properties are assigned values, or said some properties are null) and need to copy its properties to another object, we do not always want to overwrite the target object's corresponding properties with null values from the input. This feature will prevent null values from overwriting existing values in the target object, ensuring that only the provided properties are updated.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)