mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-11 03:13:38 +00:00
4126bc277286279c38fa2df785b56eae88b606af
[fixes #1628] Lombok now marks the
result field used in the generated 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.
[fixes #1628] Lombok now marks the
result field used in the generated 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.
Project Lombok makes java a spicier language by adding 'handlers' that know how to build and compile simple, boilerplate-free, not-quite-java code. See LICENSE for the Project Lombok license. To start, run: ant -projecthelp HINT: If you'd like to develop lombok in eclipse, run 'ant eclipse' first. It creates the necessary project infrastructure and downloads dependencies. Note that, in order to run "LombokizedEclipse.launch", you need to have "Eclipse SDK" installed. For a list of all authors, see the AUTHORS file. Project Lombok was started by: Reinier Zwitserloot twitter: @surial home: http://zwitserloot.com/ Roel Spilker
Description
Very spicy additions to the Java programming language.
83 MiB
0 Stars
1 Watchers
0 Forks
Languages
Java
94.6%
HTML
4.8%
JavaScript
0.2%
CSS
0.2%