diff --git a/core/spring-boot/src/main/java/org/springframework/boot/context/properties/PropertyMapper.java b/core/spring-boot/src/main/java/org/springframework/boot/context/properties/PropertyMapper.java index 0dd6bd47960..222eae45cc7 100644 --- a/core/spring-boot/src/main/java/org/springframework/boot/context/properties/PropertyMapper.java +++ b/core/spring-boot/src/main/java/org/springframework/boot/context/properties/PropertyMapper.java @@ -544,7 +544,7 @@ public final class PropertyMapper { public interface Mapper { /** - * Map a existing instance for the given nullable value. + * Map an existing instance for the given nullable value. * @param instance the existing instance * @param value the value to map (may be {@code null}) * @return the resulting mapped instance diff --git a/core/spring-boot/src/main/java/org/springframework/boot/json/JsonWriter.java b/core/spring-boot/src/main/java/org/springframework/boot/json/JsonWriter.java index 1cf44364ead..5d85b91d7fa 100644 --- a/core/spring-boot/src/main/java/org/springframework/boot/json/JsonWriter.java +++ b/core/spring-boot/src/main/java/org/springframework/boot/json/JsonWriter.java @@ -394,7 +394,7 @@ public interface JsonWriter { /** * Only include this member when an extracted value is not {@code null}. - * @param extractor an function used to extract the value to test + * @param extractor a function used to extract the value to test * @return a {@link Member} which may be configured further */ public Member whenNotNull(Function<@Nullable T, ?> extractor) { diff --git a/loader/spring-boot-loader/src/main/java/org/springframework/boot/loader/launch/Archive.java b/loader/spring-boot-loader/src/main/java/org/springframework/boot/loader/launch/Archive.java index 66f4a048b0d..04376a6a553 100644 --- a/loader/spring-boot-loader/src/main/java/org/springframework/boot/loader/launch/Archive.java +++ b/loader/spring-boot-loader/src/main/java/org/springframework/boot/loader/launch/Archive.java @@ -98,7 +98,7 @@ public interface Archive extends AutoCloseable { * Factory method to create an appropriate {@link Archive} from the given * {@link Class} target. * @param target a target class that will be used to find the archive code source - * @return an new {@link Archive} instance + * @return a new {@link Archive} instance * @throws Exception if the archive cannot be created */ static Archive create(Class target) throws Exception { diff --git a/module/spring-boot-jackson2/src/main/java/org/springframework/boot/jackson2/JsonMixinModuleEntriesBeanRegistrationAotProcessor.java b/module/spring-boot-jackson2/src/main/java/org/springframework/boot/jackson2/JsonMixinModuleEntriesBeanRegistrationAotProcessor.java index 9ad9c2f3a12..9c891b9913b 100644 --- a/module/spring-boot-jackson2/src/main/java/org/springframework/boot/jackson2/JsonMixinModuleEntriesBeanRegistrationAotProcessor.java +++ b/module/spring-boot-jackson2/src/main/java/org/springframework/boot/jackson2/JsonMixinModuleEntriesBeanRegistrationAotProcessor.java @@ -40,7 +40,7 @@ import org.springframework.javapoet.CodeBlock; /** * {@link BeanRegistrationAotProcessor} that replaces any {@link JsonMixinModuleEntries} - * by an hard-coded equivalent. This has the effect of disabling scanning at runtime. + * by a hard-coded equivalent. This has the effect of disabling scanning at runtime. * * @author Stephane Nicoll * @deprecated since 4.0.0 for removal in 4.3.0 in favor of Jackson 3