From 59c81281f204873c6425e6c3ab3667aec7297cff Mon Sep 17 00:00:00 2001 From: Jay Bryant Date: Thu, 14 Jul 2022 10:29:01 -0500 Subject: [PATCH] Further updates in response to feedback. --- .../batch/core/configuration/StepRegistry.java | 4 ++-- .../configuration/annotation/EnableBatchProcessing.java | 2 +- .../support/ApplicationContextJobFactory.java | 4 ++-- .../core/configuration/support/AutomaticJobRegistrar.java | 6 +++--- .../batch/core/configuration/xml/AbstractFlowParser.java | 8 ++++++-- .../batch/core/configuration/xml/ChunkElementParser.java | 2 +- .../batch/core/configuration/xml/CoreNamespaceUtils.java | 5 +---- .../core/configuration/xml/SimpleFlowFactoryBean.java | 8 ++++---- .../batch/core/configuration/xml/SplitParser.java | 2 +- .../core/configuration/xml/StepParserStepFactoryBean.java | 6 ++++-- 10 files changed, 25 insertions(+), 22 deletions(-) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/StepRegistry.java b/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/StepRegistry.java index 3a3132c101..3eafec973d 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/StepRegistry.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/StepRegistry.java @@ -31,7 +31,7 @@ public interface StepRegistry { /** - * Registers all the step of the given job. If the job is already registered, the + * Registers all the step instances of the given job. If the job is already registered, the * method {@link #unregisterStepsFromJob(String)} is called before registering the * given steps. * @param jobName the give job name @@ -42,7 +42,7 @@ public interface StepRegistry { void register(String jobName, Collection steps) throws DuplicateJobException; /** - * Unregisters all the steps of the given job. If the job is not registered, nothing + * Unregisters all the steps instances of the given job. If the job is not registered, nothing * happens. * @param jobName the given job name */ diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/annotation/EnableBatchProcessing.java b/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/annotation/EnableBatchProcessing.java index 6c1c5573d9..a247bc7474 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/annotation/EnableBatchProcessing.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/annotation/EnableBatchProcessing.java @@ -94,7 +94,7 @@ * annotation. Once you have an @EnableBatchProcessing class in your configuration, you have an * instance of {@link StepScope} and {@link org.springframework.batch.core.scope.JobScope}, so your beans inside steps * can have @Scope("step") and @Scope("job") respectively. You can also - * use @Autowired to insert some useful stuff into your context: + * use @Autowired to insert some useful beans into your context: * *