aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2017-05-16 00:35:16 +0200
committerRoel Spilker <r.spilker@gmail.com>2017-05-16 00:35:16 +0200
commit7d42d8c6201f640c8f7112dc2132908ace12fdc7 (patch)
treed5eb1ccc2d263118cd1a9c57c009ceb7c3a4942a /test/transform/resource
parent6f4effe84a530a9bcae4e81f853e139c10b42994 (diff)
downloadlombok-7d42d8c6201f640c8f7112dc2132908ace12fdc7.tar.gz
lombok-7d42d8c6201f640c8f7112dc2132908ace12fdc7.tar.bz2
lombok-7d42d8c6201f640c8f7112dc2132908ace12fdc7.zip
[i1351] Warning on initialized non-final field in Builder was wrong
Diffstat (limited to 'test/transform/resource')
-rw-r--r--test/transform/resource/messages-delombok/BuilderDefaultsWarnings.java.messages2
-rw-r--r--test/transform/resource/messages-ecj/BuilderDefaultsWarnings.java.messages2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/resource/messages-delombok/BuilderDefaultsWarnings.java.messages b/test/transform/resource/messages-delombok/BuilderDefaultsWarnings.java.messages
index bbee62be..694511f8 100644
--- a/test/transform/resource/messages-delombok/BuilderDefaultsWarnings.java.messages
+++ b/test/transform/resource/messages-delombok/BuilderDefaultsWarnings.java.messages
@@ -1,4 +1,4 @@
13 @Builder.Default requires @Builder on the class for it to mean anything.
-6 @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. if it is not supposed to be settable during building, add @Builder.Constant.
+6 @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.
8 @Builder.Default requires an initializing expression (' = something;').
9 @Builder.Default and @Singular cannot be mixed.
diff --git a/test/transform/resource/messages-ecj/BuilderDefaultsWarnings.java.messages b/test/transform/resource/messages-ecj/BuilderDefaultsWarnings.java.messages
index 43f1e553..f64aa5d5 100644
--- a/test/transform/resource/messages-ecj/BuilderDefaultsWarnings.java.messages
+++ b/test/transform/resource/messages-ecj/BuilderDefaultsWarnings.java.messages
@@ -1,4 +1,4 @@
-6 @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. if it is not supposed to be settable during building, add @Builder.Constant.
+6 @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.
8 @Builder.Default requires an initializing expression (' = something;').
9 @Builder.Default and @Singular cannot be mixed.
13 @Builder.Default requires @Builder on the class for it to mean anything.