7 Commits
Author SHA1 Message Date
Reinier Zwitserloot 0c5f878a4c [tests] This seemingly humongous commit is actually nothing: All test-cases now have @Generated annotations where before they did not. 2024-05-17 03:04:40 +02:00
Reinier Zwitserloot e5705f94cd * Added config key ‘lombok.addGeneratedAnnotation’.
* Added ‘format’ directive for tests.
* Updates tests to salt in some more format and config keys.
2015-01-30 18:17:00 +01:00
Reinier Zwitserloot a7bd812893 [i623] added eclipse code for generating @javax.annotation.Generated, and refactored java impl to reduce DRY violations. -f pretty now includes skipping generation of this annotation, and updated ALL the test cases. 2015-01-30 15:43:41 +01:00
Roel Spilker 4d24542dac [i660] canEqual is now protected instead of public.
Also fixed the total lack of canEqual in the usage examples.
2014-03-26 21:11:30 +01:00
Roel Spilker 14cc545276 Issue 625: use (even) better primes for hashcodes 2014-01-19 21:49:35 +01:00
Reinier Zwitserloot a40a86ad53 [#625] Instead of '31' as a prime number for hashCode(), use something else. 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. 2014-01-09 21:24:04 +01:00
Reinier Zwitserloot f98bf919cc Fixed issue 513: If equals is present but hashCode isn't, @Data now generates a warning to explain this strange situation. 2013-05-06 22:09:13 +02:00