From bee983cd3c627333a613a58be555090ac754da95 Mon Sep 17 00:00:00 2001 From: Minji Kim <101392857+alsswl@users.noreply.github.com> Date: Sat, 16 Nov 2024 06:13:36 +0900 Subject: [PATCH] Fix typos in comments (#3769) --- distribution/pom.xml | 2 +- .../org/mapstruct/ap/internal/model/BeanMappingMethod.java | 6 +++--- .../mapstruct/ap/internal/model/MappingBuilderContext.java | 2 +- .../internal/model/NestedTargetPropertyMappingHolder.java | 4 ++-- .../org/mapstruct/ap/internal/model/ValueMappingMethod.java | 4 ++-- .../java/org/mapstruct/ap/spi/AccessorNamingStrategy.java | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/distribution/pom.xml b/distribution/pom.xml index f82642109..db654236e 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -130,7 +130,7 @@ mappedSources = new LinkedHashSet<>(); - // Start to fill the mappings with the defined valuemappings + // Start to fill the mappings with the defined value mappings for ( ValueMappingOptions valueMapping : valueMappings.regularValueMappings ) { mappedSources.add( valueMapping.getSource() ); mappings.add( new MappingEntry( valueMapping.getSource(), valueMapping.getTarget() ) ); diff --git a/processor/src/main/java/org/mapstruct/ap/spi/AccessorNamingStrategy.java b/processor/src/main/java/org/mapstruct/ap/spi/AccessorNamingStrategy.java index c9d073475..b4dde6432 100644 --- a/processor/src/main/java/org/mapstruct/ap/spi/AccessorNamingStrategy.java +++ b/processor/src/main/java/org/mapstruct/ap/spi/AccessorNamingStrategy.java @@ -68,7 +68,7 @@ public interface AccessorNamingStrategy { * * @return getter name for collection properties * - * @deprecated MapStuct will not call this method anymore. Use {@link #getMethodType(ExecutableElement)} to + * @deprecated MapStruct will not call this method anymore. Use {@link #getMethodType(ExecutableElement)} to * determine the {@link MethodType}. When collections somehow need to be treated special, it should be done in * {@link #getMethodType(ExecutableElement) } as well. In the future, this method will be removed. */