Always override hashCode when you override equals 

es.uniovi.reflection.analyses.bloch.3.9


This rule detects classes that implement only one of the hashCode and equals methods. Both methods must be implemented to preserve the general contract for the hashCode method.

Computational Reflection Research Group
01-05-2026 13:28
Reliability
Type Declaration