mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
Fix typo in JavaDoc
This commit is contained in:
parent
8b84f5b7d7
commit
f167e7a20c
@ -54,7 +54,7 @@ import static org.mapstruct.NullValueCheckStrategy.ON_IMPLICIT_CONVERSION;
|
||||
* <p><strong>Example 2:</strong> Mapping properties with different names</p>
|
||||
* <pre><code class='java'>
|
||||
* // 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;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user