Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-6429

Add to style checker "hashCode and equals should be defined together"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Build
    • None

    Description

      Otherwise it is dangerous to have equals defined, but not hashCode, leading to weird behavior in hash maps.

      Attachments

        Issue Links

          Activity

            People

              joan@goyeau.com Joan Goyeau
              rxin Reynold Xin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: