mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-19 22:15:19 +00:00
[i1014] Only add lombok.Generated if it is explicitly turned on
This commit is contained in:
1 parent
b42fef8edc
commit
70f77f928a
271 files changed
+870
-1584
No files matched your search
@@ -4,7 +4,6 @@ class GetterLazyTransient {
|
||||
private final transient int nonLazyTransientField = 3;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@lombok.Generated
|
||||
public int getNonTransientField() {
|
||||
java.lang.Object value = this.nonTransientField.get();
|
||||
if (value == null) {
|
||||
@@ -21,7 +20,6 @@ class GetterLazyTransient {
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@lombok.Generated
|
||||
public int getNonLazyTransientField() {
|
||||
return this.nonLazyTransientField;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user