Use constants instead of strings in ValueMapping javadoc

This commit is contained in:
Christian Bandowski 2018-05-05 22:19:27 +02:00 committed by Filip Hrisafov
parent b291907918
commit 9e299a2ba1
2 changed files with 6 additions and 6 deletions

View File

@ -65,9 +65,9 @@ import java.lang.annotation.Target;
* *
* <pre> * <pre>
* <code> * <code>
* &#64;ValueMapping( source = "&lt;NULL&gt;", target = "DEFAULT" ), * &#64;ValueMapping( source = MappingConstants.NULL, target = "DEFAULT" ),
* &#64;ValueMapping( source = "STANDARD", target = "&lt;NULL&gt;" ), * &#64;ValueMapping( source = "STANDARD", target = MappingConstants.NULL ),
* &#64;ValueMapping( source = "&lt;ANY_REMAINING&gt;", target = "SPECIAL" ) * &#64;ValueMapping( source = MappingConstants.ANY_REMAINING, target = "SPECIAL" )
* ExternalOrderType orderTypeToExternalOrderType(OrderType orderType); * ExternalOrderType orderTypeToExternalOrderType(OrderType orderType);
* </code> * </code>
* Mapping result: * Mapping result:

View File

@ -67,9 +67,9 @@ import java.lang.annotation.Target;
* <pre> * <pre>
* <code> * <code>
* &#64;ValueMappings({ * &#64;ValueMappings({
* &#64;ValueMapping( source = "&lt;NULL&gt;", target = "DEFAULT" ), * &#64;ValueMapping( source = MappingConstants.NULL, target = "DEFAULT" ),
* &#64;ValueMapping( source = "STANDARD", target = "&lt;NULL&gt;" ), * &#64;ValueMapping( source = "STANDARD", target = MappingConstants.NULL ),
* &#64;ValueMapping( source = "&lt;ANY_REMAINING&gt;", target = "SPECIAL" ) * &#64;ValueMapping( source = MappingConstants.ANY_REMAINING, target = "SPECIAL" )
* }) * })
* ExternalOrderType orderTypeToExternalOrderType(OrderType orderType); * ExternalOrderType orderTypeToExternalOrderType(OrderType orderType);
* </code> * </code>