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)

Reply via email to