Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-7417

@EqualsAndHashCode inconsistent when using boolean properties for classes with explicit getters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.3
    • 2.5.0-alpha-1
    • xforms
    • None

    Description

      The code within the generated @EAHC methods was sometimes using isProp and other times getProp for boolean properties for the case of having a field but also having an explicit getter override. This is an error related to but different from the non-field property case (GROOVY-7390).

      Attachments

        Activity

          People

            paulk Paul King
            chrylis Christopher Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: