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

EqualsAndHashCode should be enhanced to be POJO aware

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • None

    Description

      The generated equals and hashCode methods should avoid calls into the Groovy runtime. For example, the generated hashCode method could use Objects.hash() instead of HashCodeHelper.updateHash().

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h