docs: Fix typo in the builder section

This commit is contained in:
fml2 2019-12-09 13:49:57 +01:00 committed by Filip Hrisafov
parent 779eb1bd47
commit 84062bf78f

View File

@ -422,7 +422,7 @@ The default implementation of the `BuilderProvider` assumes the following:
* The type has a parameterless public static builder creation method that returns a builder.
So for example `Person` has a public static method that returns `PersonBuilder`.
* The builder type has a parameterless public method (build method) that returns the type being build
* The builder type has a parameterless public method (build method) that returns the type being built.
In our example `PersonBuilder` has a method returning `Person`.
* In case there are multiple build methods, MapStruct will look for a method called `build`, if such method exists
then this would be used, otherwise a compilation error would be created.