mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
Fix javadoc typos (#3780)
This commit is contained in:
parent
f3d2b2e65b
commit
084cf3abc1
@ -10,7 +10,7 @@ package org.mapstruct;
|
|||||||
* {@link NullValuePropertyMappingStrategy} can be defined on {@link MapperConfig}, {@link Mapper}, {@link BeanMapping}
|
* {@link NullValuePropertyMappingStrategy} can be defined on {@link MapperConfig}, {@link Mapper}, {@link BeanMapping}
|
||||||
* and {@link Mapping}.
|
* and {@link Mapping}.
|
||||||
* Precedence is arranged in the reverse order. So {@link Mapping} will override {@link BeanMapping}, will
|
* Precedence is arranged in the reverse order. So {@link Mapping} will override {@link BeanMapping}, will
|
||||||
* overide {@link Mapper}
|
* override {@link Mapper}
|
||||||
*
|
*
|
||||||
* The enum <b>only applies to update methods</b>: methods that update a pre-existing target (annotated with
|
* The enum <b>only applies to update methods</b>: methods that update a pre-existing target (annotated with
|
||||||
* {@code @}{@link MappingTarget}).
|
* {@code @}{@link MappingTarget}).
|
||||||
|
@ -64,7 +64,7 @@ public class NestedTargetPropertyMappingHolder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return all the targets that were hanled
|
* @return all the targets that were handled
|
||||||
*/
|
*/
|
||||||
public Set<String> getHandledTargets() {
|
public Set<String> getHandledTargets() {
|
||||||
return handledTargets;
|
return handledTargets;
|
||||||
|
@ -83,7 +83,7 @@ public interface Method {
|
|||||||
Parameter getMappingTargetParameter();
|
Parameter getMappingTargetParameter();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether the meethod is designated as bean factory for
|
* Returns whether the method is designated as bean factory for
|
||||||
* mapping target {@link org.mapstruct.ObjectFactory }
|
* mapping target {@link org.mapstruct.ObjectFactory }
|
||||||
*
|
*
|
||||||
* @return true if it is a target bean factory.
|
* @return true if it is a target bean factory.
|
||||||
|
@ -174,7 +174,7 @@ public class NativeTypes {
|
|||||||
boolean endsWithDSuffix = PTRN_DOUBLE.matcher( val ).find();
|
boolean endsWithDSuffix = PTRN_DOUBLE.matcher( val ).find();
|
||||||
// error handling
|
// error handling
|
||||||
if ( isFloat && endsWithDSuffix ) {
|
if ( isFloat && endsWithDSuffix ) {
|
||||||
throw new NumberFormatException( "Assiging double to a float" );
|
throw new NumberFormatException( "Assigning double to a float" );
|
||||||
}
|
}
|
||||||
// remove suffix
|
// remove suffix
|
||||||
if ( endsWithLSuffix || endsWithFSuffix || endsWithDSuffix ) {
|
if ( endsWithLSuffix || endsWithFSuffix || endsWithDSuffix ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user