Uploaded image for project: 'Commons BeanUtils'
  1. Commons BeanUtils
  2. BEANUTILS-545

Redundant check MappedPropertyDescriptor creations

    XMLWordPrintableJSON

Details

    Description

       

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              arturobernalg Arturo Bernal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: