Fix javadoc typos (#3780)

This commit is contained in:
Tran Ngoc Nhan 2024-11-29 15:33:41 +07:00 committed by GitHub
parent f3d2b2e65b
commit 084cf3abc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -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}).

View File

@ -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;

View File

@ -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.

View File

@ -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 ) {