mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 02:14:44 +00:00
only assign value once so that final fields work (javac)
This commit is contained in:
1 parent
46837d6d8b
commit
31aef5219d
3 files changed
+8
-7
No files matched your search
@@ -5,7 +5,7 @@ public class SuperBuilderWithNonNull {
|
||||
public static class Parent {
|
||||
@lombok.NonNull
|
||||
@lombok.Builder.Default
|
||||
String nonNullParentField = "default";
|
||||
final String nonNullParentField = "default";
|
||||
}
|
||||
|
||||
@lombok.experimental.SuperBuilder
|
||||
|
||||
Reference in new issue
Block a user