Fix typos

This commit is contained in:
Mahmoud Ben Hassine
2022-11-23 15:21:17 +01:00
parent fc0ec01ff8
commit 15069aa1dc
10 changed files with 21 additions and 21 deletions

View File

@@ -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()));
}

View File

@@ -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";

View File

@@ -38,7 +38,7 @@ import org.springframework.util.StringUtils;
* where:
*
* <ul>
* <li>value: string literal repesenting the value</li>
* <li>value: string literal representing the value</li>
* <li>type (optional): fully qualified name of the type of the value. Defaults to
* String.</li>
* <li>identifying (optional): boolean to flag the job parameter as identifying or not.

View File

@@ -32,7 +32,7 @@ public class CompositeChunkListener implements ChunkListener {
private OrderedComposite<ChunkListener> listeners = new OrderedComposite<>();
/**
* Default constrcutor
* Default constructor
*/
public CompositeChunkListener() {

View File

@@ -200,7 +200,7 @@ public abstract class AbstractTaskletStepBuilder<B extends AbstractTaskletStepBu
* @param throttleLimit maximum number of concurrent tasklet executions allowed
* @return this for fluent chaining
* @deprecated since 5.0, scheduled for removal in 6.0. Use a pooled
* {@link TaskExecutor} implemenation with a limited capacity of its task queue
* {@link TaskExecutor} implementation with a limited capacity of its task queue
* instead.
*/
@Deprecated(since = "5.0", forRemoval = true)