From d0b5ff3405bbdb260db829b374171a1648b4f934 Mon Sep 17 00:00:00 2001 From: Hyunwoo Jung Date: Tue, 1 Sep 2026 15:22:15 +0900 Subject: [PATCH] Fix typos in Javadoc comments Signed-off-by: Hyunwoo Jung --- .../support/AbstractApplicationContextFactory.java | 2 +- .../batch/infrastructure/item/xml/StaxEventItemWriter.java | 3 ++- .../batch/samples/domain/person/PersonService.java | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/AbstractApplicationContextFactory.java b/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/AbstractApplicationContextFactory.java index cb61736aed..9d5dda84fa 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/AbstractApplicationContextFactory.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/AbstractApplicationContextFactory.java @@ -82,7 +82,7 @@ public AbstractApplicationContextFactory(Object... resource) { /* * Assume that a BeanPostProcessor that is BeanFactoryAware must be specific to * the parent and remove it from the child (e.g. an AutoProxyCreator will not work - * properly). Unfortunately there might still be a a BeanPostProcessor with a + * properly). Unfortunately there might still be a BeanPostProcessor with a * dependency that itself is BeanFactoryAware, but we can't legislate for that * here. */ diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/infrastructure/item/xml/StaxEventItemWriter.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/infrastructure/item/xml/StaxEventItemWriter.java index 6f5f415aae..1d870c766b 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/infrastructure/item/xml/StaxEventItemWriter.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/infrastructure/item/xml/StaxEventItemWriter.java @@ -451,7 +451,8 @@ private void open(long position) { * @param writer the {@link Writer} to be used by the {@link XMLEventWriter} for * writing to character streams. * @return an xml writer - * @throws XMLStreamException thrown if error occured creating {@link XMLEventWriter}. + * @throws XMLStreamException thrown if error occurred creating + * {@link XMLEventWriter}. */ protected XMLEventWriter createXmlEventWriter(XMLOutputFactory outputFactory, Writer writer) throws XMLStreamException { diff --git a/spring-batch-samples/src/main/java/org/springframework/batch/samples/domain/person/PersonService.java b/spring-batch-samples/src/main/java/org/springframework/batch/samples/domain/person/PersonService.java index 9fae1451c1..5ddfa374cf 100644 --- a/spring-batch-samples/src/main/java/org/springframework/batch/samples/domain/person/PersonService.java +++ b/spring-batch-samples/src/main/java/org/springframework/batch/samples/domain/person/PersonService.java @@ -26,8 +26,8 @@ import org.jspecify.annotations.Nullable; /** - * Custom class that contains logic that would normally be be contained in - * {@link ItemReader} and {@link ItemWriter}. + * Custom class that contains logic that would normally be contained in {@link ItemReader} + * and {@link ItemWriter}. * * @author tomas.slanina * @author Robert Kasanicky