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

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() { public Set<String> getHandledTargets() {
return handledTargets; return handledTargets;

View File

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

View File

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