We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b84f5b commit f167e7aCopy full SHA for f167e7a
1 file changed
core/src/main/java/org/mapstruct/Mapping.java
@@ -54,7 +54,7 @@
54
* <p><strong>Example 2:</strong> Mapping properties with different names</p>
55
* <pre><code class='java'>
56
* // We need map Human.companyName to HumanDto.company
57
- * // we can use @Mapping with parameters {@link #source()} and {@link #source()}
+ * // we can use @Mapping with parameters {@link #source()} and {@link #target()}
58
* @Mapper
59
* public interface HumanMapper {
60
* @Mapping(source="companyName", target="company")
@@ -476,6 +476,4 @@ NullValuePropertyMappingStrategy nullValuePropertyMappingStrategy()
476
*/
477
Class<? extends Annotation> mappingControl() default MappingControl.class;
478
479
-
480
481
}
0 commit comments