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 06:40:01 UTC

[jira] [Created] (BEANUTILS-545) Redundant propertyName check params

Arturo Bernal created BEANUTILS-545:
---------------------------------------

             Summary: Redundant propertyName check params
                 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


 

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)