aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/EqualsAndHashCode.java
AgeCommit message (Collapse)Author
2018-11-08[fixes #1628] Lombok now marks the `result` field used in the generated ↵Reinier Zwitserloot
hashCode method as final if it isn’t modified. This doesn’t change its behavior whatsoever, but some linters and especially eclipse save actions (specifically: ‘mark local variables final if possible’) cause issues when they try to mess with generated code. Of course, now any save action with ‘remove useless modifiers’ would cause an issue but those don’t (yet…) exist.
2017-12-04fixing tests to account for generation of javax.annotation.Generated and ↵Reinier Zwitserloot
ConstructorProperties being default-off.
2017-11-06Generate correct hashCode when callSuper and no fields included. Fixes #1505Roel Spilker
2017-02-09[i1014] Only add lombok.Generated if it is explicitly turned onRoel Spilker
2017-01-06add `@lombok.Generated` to generated classes, methods and fieldsRoel Spilker
2015-06-25The hashCode() method now generates a magic prime instead of 0 for the hash ↵Reinier Zwitserloot
of null values; this reduces collisions.
2015-01-30[i623] added eclipse code for generating @javax.annotation.Generated, and ↵Reinier Zwitserloot
refactored java impl to reduce DRY violations. -f pretty now includes skipping generation of this annotation, and updated ALL the test cases.
2014-03-26[i660] canEqual is now protected instead of public.Roel Spilker
Also fixed the total lack of canEqual in the usage examples.
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.
2012-07-16fixed tests since Robbert Jan's fix for issue 377.Reinier Zwitserloot
2012-04-29Issue 366: don't call the getter twice, fixed for Eclipse.Roel Spilker
2012-04-29Issue 366: don't call the getter twice, fixed for javac.Roel Spilker
2011-11-01Fixed unit tests to take into account work on issue 289 and 287.Roel Spilker
2011-07-18Now either all or none of equals/hashCode/canEqual is generated. Fixes issue ↵Roel Spilker
240.