diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/annotation/BatchRegistrar.java b/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/annotation/BatchRegistrar.java index 028cf53b3..3c8878fec 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/annotation/BatchRegistrar.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/annotation/BatchRegistrar.java @@ -37,7 +37,7 @@ import org.springframework.core.type.AnnotationMetadata; import org.springframework.util.StopWatch; /** - * Base registrar that provides common infrastrucutre beans for enabling and using Spring + * Base registrar that provides common infrastructure beans for enabling and using Spring * Batch in a declarative way through {@link EnableBatchProcessing}. * * @author Mahmoud Ben Hassine @@ -66,7 +66,7 @@ class BatchRegistrar implements ImportBeanDefinitionRegistrar { registerJobOperator(registry, batchAnnotation); registerAutomaticJobRegistrar(registry, batchAnnotation); watch.stop(); - LOGGER.info(LogMessage.format("Finished Spring Batch infrastrucutre beans configuration in %s ms.", + LOGGER.info(LogMessage.format("Finished Spring Batch infrastructure beans configuration in %s ms.", watch.getLastTaskTimeMillis())); } 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 e11e0a8f0..a5e2b8e97 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 @@ -205,8 +205,8 @@ public @interface EnableBatchProcessing { String tablePrefix() default AbstractJdbcBatchMetadataDao.DEFAULT_TABLE_PREFIX; /** - * The maximum lenght of exit messages in the database. - * @return the maximum lenght of exit messages in the database + * The maximum length of exit messages in the database. + * @return the maximum length of exit messages in the database */ int maxVarCharLength() default AbstractJdbcBatchMetadataDao.DEFAULT_EXIT_MESSAGE_LENGTH; @@ -247,7 +247,7 @@ public @interface EnableBatchProcessing { * Set the conversion service to use in the job repository and job explorer. This * service is used to convert job parameters from String literal to typed values and * vice versa. - * @return the bean name of the conversion service to use. Defauls to + * @return the bean name of the conversion service to use. Defaults to * {@literal conversionService} */ String conversionServiceRef() default "conversionService"; diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/converter/DefaultJobParametersConverter.java b/spring-batch-core/src/main/java/org/springframework/batch/core/converter/DefaultJobParametersConverter.java index 837ef458d..8af2b8764 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/converter/DefaultJobParametersConverter.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/converter/DefaultJobParametersConverter.java @@ -38,7 +38,7 @@ import org.springframework.util.StringUtils; * where: * *