Add equals method to Violation.

Why `otherViolation` ?

“Violation is equal to $violation.“