Logo
Explore Help
Register Sign In
tiennm99/lombok
1
0
Fork 0
You've already forked lombok
mirror of https://github.com/tiennm99/lombok.git synced 2026-05-28 06:21:43 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
master
lombok/test/transform/resource/before/EqualsAndHashCodeEmpty.java
T
Reinier Zwitserloot db19327cb4 [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.
2018-11-08 15:51:08 +01:00

8 lines
177 B
Java
Raw Permalink Blame History

@lombok.EqualsAndHashCode
class EqualsAndHashCodeEmpty {
}
@lombok.EqualsAndHashCode(callSuper = true)
class EqualsAndHashCodeEmptyWithSuper extends EqualsAndHashCodeEmpty {
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.26.2 Page: 108ms Template: 22ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API