diff --git a/core/src/main/java/org/mapstruct/Mapping.java b/core/src/main/java/org/mapstruct/Mapping.java index 0af73f368..7ca637f0c 100644 --- a/core/src/main/java/org/mapstruct/Mapping.java +++ b/core/src/main/java/org/mapstruct/Mapping.java @@ -54,7 +54,7 @@ import static org.mapstruct.NullValueCheckStrategy.ON_IMPLICIT_CONVERSION; *
Example 2: Mapping properties with different names
*
* // We need map Human.companyName to HumanDto.company
- * // we can use @Mapping with parameters {@link #source()} and {@link #source()}
+ * // we can use @Mapping with parameters {@link #source()} and {@link #target()}
* @Mapper
* public interface HumanMapper {
* @Mapping(source="companyName", target="company")
@@ -476,6 +476,4 @@ public @interface Mapping {
*/
Class extends Annotation> mappingControl() default MappingControl.class;
-
-
}