scalastyle/scalastyle — Issue #2: Implement EqualsHashCode
Author: matthewfarwell
Created: 2011-11-23 20:37:23+00:00
State: open

## EqualsHashCode
Checks that classes that override equals() also override hashCode().
Rationale: The contract of equals() and hashCode() requires that equal objects have the same hashCode.
Hence, whenever you override equals() you must override hashCode() to ensure that your class can be used in collections that are hash based.