On 5/15/10 10:35 AM, Felix Knecht wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

We have a quite a lot of the following findings:

HE: Class defines equals() and uses Object.hashCode()
(HE_EQUALS_USE_HASHCODE)
See [1], ...

Do we consider them all as false positives or should we override the
hashCode function?
Definitively not a false positive. Implementing the equals() method does not works if we don't implement hashcade() at the same time.

--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com


Reply via email to