Fixing some general javadoc issues.

This commit is contained in:
sjaakd 2016-03-15 22:08:13 +01:00
parent e15b873b9a
commit d59873d923
3 changed files with 10 additions and 15 deletions

View File

@ -38,7 +38,6 @@ import java.lang.annotation.Target;
* <p> * <p>
* <b>NOTE:</b> The decorator feature when used with component model {@code jsr330} is considered <em>experimental</em> * <b>NOTE:</b> The decorator feature when used with component model {@code jsr330} is considered <em>experimental</em>
* and it may change in future releases. * and it may change in future releases.
* <p>
* <h2>Examples</h2> * <h2>Examples</h2>
* <p> * <p>
* For the examples below, consider the following mapper declaration: * For the examples below, consider the following mapper declaration:

View File

@ -99,15 +99,13 @@ public @interface Mapping {
* An expression {@link String} based on which the specified target property is to be set. * An expression {@link String} based on which the specified target property is to be set.
* <p> * <p>
* Currently, Java is the only supported "expression language" and expressions must be given in form of Java * Currently, Java is the only supported "expression language" and expressions must be given in form of Java
* expressions using the following format: {@code java(<EXPRESSION>)}. For instance the mapping * expressions using the following format: {@code java(<EXPRESSION>)}. For instance the mapping:
* <p> * <pre><code>
* * &#64;Mapping(
* <pre>
* {@code @Mapping(
* target = "someProp", * target = "someProp",
* expression = "java(new TimeAndFormat( s.getTime(), s.getFormat() ))" * expression = "java(new TimeAndFormat( s.getTime(), s.getFormat() ))"
* )} * )
* </pre> * </code></pre>
* <p> * <p>
* will cause the following target property assignment to be generated: * will cause the following target property assignment to be generated:
* <p> * <p>

View File

@ -97,15 +97,13 @@ public @interface Mapping {
* An expression {@link String} based on which the specified target property is to be set. * An expression {@link String} based on which the specified target property is to be set.
* <p> * <p>
* Currently, Java is the only supported "expression language" and expressions must be given in form of Java * Currently, Java is the only supported "expression language" and expressions must be given in form of Java
* expressions using the following format: {@code java(<EXPRESSION>)}. For instance the mapping * expressions using the following format: {@code java(<EXPRESSION>)}. For instance the mapping:
* <p> * <pre><code>
* * &#64;Mapping(
* <pre>
* {@code @Mapping(
* target = "someProp", * target = "someProp",
* expression = "java(new TimeAndFormat( s.getTime(), s.getFormat() ))" * expression = "java(new TimeAndFormat( s.getTime(), s.getFormat() ))"
* )} * )
* </pre> * </code></pre>
* <p> * <p>
* will cause the following target property assignment to be generated: * will cause the following target property assignment to be generated:
* <p> * <p>