Skip to content

Commit 15069aa

Browse files
committed
Fix typos
1 parent fc0ec01 commit 15069aa

File tree

10 files changed

+21
-21
lines changed

10 files changed

+21
-21
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/annotation/BatchRegistrar.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
import org.springframework.util.StopWatch;
3838

3939
/**
40-
* Base registrar that provides common infrastrucutre beans for enabling and using Spring
40+
* Base registrar that provides common infrastructure beans for enabling and using Spring
4141
* Batch in a declarative way through {@link EnableBatchProcessing}.
4242
*
4343
* @author Mahmoud Ben Hassine
@@ -66,7 +66,7 @@ public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, B
6666
registerJobOperator(registry, batchAnnotation);
6767
registerAutomaticJobRegistrar(registry, batchAnnotation);
6868
watch.stop();
69-
LOGGER.info(LogMessage.format("Finished Spring Batch infrastrucutre beans configuration in %s ms.",
69+
LOGGER.info(LogMessage.format("Finished Spring Batch infrastructure beans configuration in %s ms.",
7070
watch.getLastTaskTimeMillis()));
7171
}
7272

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/annotation/EnableBatchProcessing.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@
205205
String tablePrefix() default AbstractJdbcBatchMetadataDao.DEFAULT_TABLE_PREFIX;
206206

207207
/**
208-
* The maximum lenght of exit messages in the database.
209-
* @return the maximum lenght of exit messages in the database
208+
* The maximum length of exit messages in the database.
209+
* @return the maximum length of exit messages in the database
210210
*/
211211
int maxVarCharLength() default AbstractJdbcBatchMetadataDao.DEFAULT_EXIT_MESSAGE_LENGTH;
212212

@@ -247,7 +247,7 @@
247247
* Set the conversion service to use in the job repository and job explorer. This
248248
* service is used to convert job parameters from String literal to typed values and
249249
* vice versa.
250-
* @return the bean name of the conversion service to use. Defauls to
250+
* @return the bean name of the conversion service to use. Defaults to
251251
* {@literal conversionService}
252252
*/
253253
String conversionServiceRef() default "conversionService";

spring-batch-core/src/main/java/org/springframework/batch/core/converter/DefaultJobParametersConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* where:
3939
*
4040
* <ul>
41-
* <li>value: string literal repesenting the value</li>
41+
* <li>value: string literal representing the value</li>
4242
* <li>type (optional): fully qualified name of the type of the value. Defaults to
4343
* String.</li>
4444
* <li>identifying (optional): boolean to flag the job parameter as identifying or not.

spring-batch-core/src/main/java/org/springframework/batch/core/listener/CompositeChunkListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class CompositeChunkListener implements ChunkListener {
3232
private OrderedComposite<ChunkListener> listeners = new OrderedComposite<>();
3333

3434
/**
35-
* Default constrcutor
35+
* Default constructor
3636
*/
3737
public CompositeChunkListener() {
3838

spring-batch-core/src/main/java/org/springframework/batch/core/step/builder/AbstractTaskletStepBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public B taskExecutor(TaskExecutor taskExecutor) {
200200
* @param throttleLimit maximum number of concurrent tasklet executions allowed
201201
* @return this for fluent chaining
202202
* @deprecated since 5.0, scheduled for removal in 6.0. Use a pooled
203-
* {@link TaskExecutor} implemenation with a limited capacity of its task queue
203+
* {@link TaskExecutor} implementation with a limited capacity of its task queue
204204
* instead.
205205
*/
206206
@Deprecated(since = "5.0", forRemoval = true)

spring-batch-core/src/test/java/org/springframework/batch/core/configuration/annotation/BatchRegistrarTests.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,20 @@ public void execute() throws Throwable {
7676
}
7777

7878
@Test
79-
@DisplayName("When cusotm beans are provided, then default ones should not be used")
79+
@DisplayName("When custom beans are provided, then default ones should not be used")
8080
void testConfigurationWithUserDefinedBeans() {
8181
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(
82-
JobConfigurationWithUserDefinedInfrastrucutreBeans.class);
82+
JobConfigurationWithUserDefinedInfrastructureBeans.class);
8383

84-
Assertions.assertEquals(JobConfigurationWithUserDefinedInfrastrucutreBeans.jobRepository,
84+
Assertions.assertEquals(JobConfigurationWithUserDefinedInfrastructureBeans.jobRepository,
8585
context.getBean(JobRepository.class));
86-
Assertions.assertEquals(JobConfigurationWithUserDefinedInfrastrucutreBeans.jobExplorer,
86+
Assertions.assertEquals(JobConfigurationWithUserDefinedInfrastructureBeans.jobExplorer,
8787
context.getBean(JobExplorer.class));
88-
Assertions.assertEquals(JobConfigurationWithUserDefinedInfrastrucutreBeans.jobLauncher,
88+
Assertions.assertEquals(JobConfigurationWithUserDefinedInfrastructureBeans.jobLauncher,
8989
context.getBean(JobLauncher.class));
90-
Assertions.assertEquals(JobConfigurationWithUserDefinedInfrastrucutreBeans.jobRegistry,
90+
Assertions.assertEquals(JobConfigurationWithUserDefinedInfrastructureBeans.jobRegistry,
9191
context.getBean(JobRegistry.class));
92-
Assertions.assertEquals(JobConfigurationWithUserDefinedInfrastrucutreBeans.jobOperator,
92+
Assertions.assertEquals(JobConfigurationWithUserDefinedInfrastructureBeans.jobOperator,
9393
context.getBean(JobOperator.class));
9494
}
9595

@@ -129,7 +129,7 @@ void testDataSourceAndTransactionManagerSetup() {
129129

130130
@Test
131131
@DisplayName("When custom bean names are provided, then corresponding beans should be used to configure infrastructure beans")
132-
void testConfigurationWithCustonBeanNames() {
132+
void testConfigurationWithCustomBeanNames() {
133133
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(
134134
JobConfigurationWithCustomBeanNames.class);
135135

@@ -201,7 +201,7 @@ public DataSource dataSource() {
201201

202202
@Configuration
203203
@EnableBatchProcessing
204-
public static class JobConfigurationWithUserDefinedInfrastrucutreBeans {
204+
public static class JobConfigurationWithUserDefinedInfrastructureBeans {
205205

206206
public static JobRepository jobRepository = Mockito.mock(JobRepository.class);
207207

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/CompositeItemProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class CompositeItemProcessor<I, O> implements ItemProcessor<I, O>, Initia
4040
private List<? extends ItemProcessor<?, ?>> delegates;
4141

4242
/**
43-
* Default constrcutor
43+
* Default constructor
4444
*/
4545
public CompositeItemProcessor() {
4646

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/CompositeItemStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public void register(ItemStream stream) {
6464
}
6565

6666
/**
67-
* Default constrcutor
67+
* Default constructor
6868
*/
6969
public CompositeItemStream() {
7070
super();

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/CompositeItemWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class CompositeItemWriter<T> implements ItemStreamWriter<T>, Initializing
4545
private boolean ignoreItemStream = false;
4646

4747
/**
48-
* Default constrcutor
48+
* Default constructor
4949
*/
5050
public CompositeItemWriter() {
5151

spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/listener/CompositeRepeatListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class CompositeRepeatListener implements RepeatListener {
3434
private List<RepeatListener> listeners = new ArrayList<>();
3535

3636
/**
37-
* Default constrcutor
37+
* Default constructor
3838
*/
3939
public CompositeRepeatListener() {
4040

0 commit comments

Comments
 (0)