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. In this scenario, both methods must be implemented to preserve the general contract for the hashCode method.

Computational Reflection Research Group
12-03-2025 17:14
Reliability
Type Declaration