Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1035

Javadoc for EqualsBuilder.reflectionEquals() is unclear

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.2
    • 3.4
    • lang.builder.*
    • None

    Description

      The Javadoc for EqualsBuilder.reflectionEquals() doesn't explain that .equals() is used to compare non-primitive fields in the class.

      Consequently, readers may assume the method recursively builds .equals() for all fields. We should clarify this.

      Related: LANG-1034

      Attachments

        Activity

          People

            dmjones500 Duncan Jones
            dmjones500 Duncan Jones
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: