aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/EqualsAndHashCodeWithSomeExistingMethods.java
AgeCommit message (Collapse)Author
2014-01-19Issue 625: use (even) better primes for hashcodesRoel Spilker
2014-01-09[#625] Instead of '31' as a prime number for hashCode(), use something else. ↵Reinier Zwitserloot
31, probably owing to its inclusion in Effective Java, is overused, as proven by Maaartinus in issue 625. Switching to 277 instead. Also, 1231/1237 pair used for booleans has been replaced by 2591/2609.
2013-05-06Fixed issue 513: If equals is present but hashCode isn't, @Data now ↵Reinier Zwitserloot
generates a warning to explain this strange situation.