mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
Fix typo in docs (#2982)
This commit is contained in:
parent
853e7b27df
commit
3f798744ac
@ -304,7 +304,7 @@ The difference is that it allows users to write custom condition methods that wi
|
|||||||
|
|
||||||
A custom condition method is a method that is annotated with `org.mapstruct.Condition` and returns `boolean`.
|
A custom condition method is a method that is annotated with `org.mapstruct.Condition` and returns `boolean`.
|
||||||
|
|
||||||
e.g. if you only want to map a String property when it is not `null, and it is not empty then you can do something like:
|
e.g. if you only want to map a String property when it is not `null`, and it is not empty then you can do something like:
|
||||||
|
|
||||||
.Mapper using custom condition check method
|
.Mapper using custom condition check method
|
||||||
====
|
====
|
||||||
|
Loading…
x
Reference in New Issue
Block a user