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}
|
||||
* and {@link Mapping}.
|
||||
* 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
|
||||
* {@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() {
|
||||
return handledTargets;
|
||||
|
@ -83,7 +83,7 @@ public interface Method {
|
||||
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 }
|
||||
*
|
||||
* @return true if it is a target bean factory.
|
||||
|
@ -174,7 +174,7 @@ public class NativeTypes {
|
||||
boolean endsWithDSuffix = PTRN_DOUBLE.matcher( val ).find();
|
||||
// error handling
|
||||
if ( isFloat && endsWithDSuffix ) {
|
||||
throw new NumberFormatException( "Assiging double to a float" );
|
||||
throw new NumberFormatException( "Assigning double to a float" );
|
||||
}
|
||||
// remove suffix
|
||||
if ( endsWithLSuffix || endsWithFSuffix || endsWithDSuffix ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user