From 1a2a3052310b1dc12ba9e4259a53298ae6851359 Mon Sep 17 00:00:00 2001 From: Jan Date: Sat, 19 Jan 2019 14:48:09 +0100 Subject: typo --- website/templates/features/experimental/SuperBuilder.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'website/templates/features') diff --git a/website/templates/features/experimental/SuperBuilder.html b/website/templates/features/experimental/SuperBuilder.html index 56893df7..c68e28ca 100644 --- a/website/templates/features/experimental/SuperBuilder.html +++ b/website/templates/features/experimental/SuperBuilder.html @@ -26,7 +26,7 @@ @SuperBuilder is not compatible with @Builder.

You can use @SuperBuilder(toBuilder = true) to also generate an instance method in your class called toBuilder(); it creates a new builder that starts out with all the values of this instance. - Using toBuilder requires that all superclasses must also have toBuilder = true. + Using toBuilder requires that all superclasses also have toBuilder = true. You can put the @Builder.ObtainVia annotation on the fields to indicate alternative means by which the value for that field/parameter is obtained from this instance. For example, you can specify a method to be invoked: @Builder.ObtainVia(method = "calculateFoo").

-- cgit