[ 
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)

Reply via email to