Add equals method to Violation.

Why `otherViolation` ?

“ViolationList contains violation.“