You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Arturo Bernal (Jira)" <ji...@apache.org> on 2021/01/22 07:55:00 UTC
[jira] [Updated] (BEANUTILS-545) Redundant check
MappedPropertyDescriptor creations
[ https://issues.apache.org/jira/browse/BEANUTILS-545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arturo Bernal updated BEANUTILS-545:
------------------------------------
Labels: pull-request-available (was: )
> Redundant check MappedPropertyDescriptor creations
> --------------------------------------------------
>
> Key: BEANUTILS-545
> URL: https://issues.apache.org/jira/browse/BEANUTILS-545
> Project: Commons BeanUtils
> Issue Type: Improvement
> Components: Bean / Property Utils
> Affects Versions: 2.0.0
> Reporter: Arturo Bernal
> Priority: Minor
> Labels: pull-request-available
>
>
> Currently when we try to create a new MappedPropertyDescriptor object the constructor check if the propertyName is null. This is redundant because the same check it's execute in the super constructor.
> https://github.com/apache/commons-beanutils/blob/master/src/main/java/org/apache/commons/beanutils2/MappedPropertyDescriptor.java#L90
--
This message was sent by Atlassian Jira
(v8.3.4#803005)