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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Build
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: