From 5a836da33991f1198b2d8c4c53423a3e13755af9 Mon Sep 17 00:00:00 2001 From: Lee Jiwon Date: Tue, 24 Mar 2026 13:36:20 +0900 Subject: [PATCH] Fix incorrect indefinite articles in Javadoc See gh-49723 Signed-off-by: Lee Jiwon --- .../java/org/springframework/boot/loader/launch/Archive.java | 2 +- .../JsonMixinModuleEntriesBeanRegistrationAotProcessor.java | 2 +- .../src/main/java/org/springframework/boot/json/JsonWriter.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/launch/Archive.java b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/launch/Archive.java index 66f4a048b0d..04376a6a553 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/launch/Archive.java +++ b/spring-boot-project/spring-boot-tools/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/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jackson/JsonMixinModuleEntriesBeanRegistrationAotProcessor.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jackson/JsonMixinModuleEntriesBeanRegistrationAotProcessor.java index 4bd0a63fc79..82d956f8786 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jackson/JsonMixinModuleEntriesBeanRegistrationAotProcessor.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jackson/JsonMixinModuleEntriesBeanRegistrationAotProcessor.java @@ -37,7 +37,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 */ diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/json/JsonWriter.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/json/JsonWriter.java index 011da6781e2..219d2f2c198 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/json/JsonWriter.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/json/JsonWriter.java @@ -391,7 +391,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 extractor) {