From 2f4cf7c905acd99d055a00286c807fc630c96a2a Mon Sep 17 00:00:00 2001 From: Filip Hrisafov Date: Wed, 16 Aug 2017 22:19:49 +0200 Subject: [PATCH] #748 Add note that the passed parameter to MappingTarget must not be null --- core-common/src/main/java/org/mapstruct/MappingTarget.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core-common/src/main/java/org/mapstruct/MappingTarget.java b/core-common/src/main/java/org/mapstruct/MappingTarget.java index e7fe6f228..f99c79885 100644 --- a/core-common/src/main/java/org/mapstruct/MappingTarget.java +++ b/core-common/src/main/java/org/mapstruct/MappingTarget.java @@ -27,6 +27,8 @@ import java.lang.annotation.Target; * Declares a parameter of a mapping method to be the target of the mapping. *

* Not more than one parameter can be declared as {@code MappingTarget}. + *

+ * NOTE: The parameter passed as a mapping target must not be {@code null}. * * @author Andreas Gudian */