From 4c9653e277ba2a50fce436d7548755b2e0039144 Mon Sep 17 00:00:00 2001 From: Gunnar Morling Date: Thu, 22 Jan 2015 23:32:41 +0100 Subject: [PATCH] #385 Improving docs, avoiding raw type warning --- .../src/main/java/org/mapstruct/BeanMapping.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/core-common/src/main/java/org/mapstruct/BeanMapping.java b/core-common/src/main/java/org/mapstruct/BeanMapping.java index 981530f66..ee1aadbcd 100644 --- a/core-common/src/main/java/org/mapstruct/BeanMapping.java +++ b/core-common/src/main/java/org/mapstruct/BeanMapping.java @@ -24,20 +24,18 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** - * Configures the mapping between two bean types + * Configures the mapping between two bean types. * * @author Sjaak Derksen */ -@Target(ElementType.METHOD) -@Retention(RetentionPolicy.SOURCE) +@Target( ElementType.METHOD ) +@Retention( RetentionPolicy.SOURCE ) public @interface BeanMapping { - /** - * Specifies the result type of the method to select in case ambiguous mappings / factory methods. - * + * Specifies the result type of the factory method to be used in case several factory methods qualify. * * @return the resultType to select */ - Class resultType() default void.class; + Class resultType() default void.class; }