Details
-
Documentation
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
Description
The doc comment for DefaultStrategy reads:
def person = Person.builder().firstName("Robert").lastName("Lewandowski").age(21).
This is missing .build() at the end. I tried without the .build() in case there was some runtime type coercion but I got a GroovyCastException, so I believe the docs are in error.