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: * *