From 7d42d8c6201f640c8f7112dc2132908ace12fdc7 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Tue, 16 May 2017 00:35:16 +0200 Subject: [i1351] Warning on initialized non-final field in Builder was wrong --- .../resource/messages-ecj/BuilderDefaultsWarnings.java.messages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/transform/resource/messages-ecj') 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. -- cgit