Skip to content

Commit 42a9edc

Browse files
committed
Merge branch 'main' into 4.0.x
2 parents de0a19b + fcbe8d6 commit 42a9edc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchAutoConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static class SpringBootBatchConfiguration extends DefaultBatchConfiguration {
104104

105105
private final PlatformTransactionManager transactionManager;
106106

107-
private final TaskExecutor taskExector;
107+
private final TaskExecutor taskExecutor;
108108

109109
private final BatchProperties properties;
110110

@@ -123,7 +123,7 @@ static class SpringBootBatchConfiguration extends DefaultBatchConfiguration {
123123
ObjectProvider<JobParametersConverter> jobParametersConverter) {
124124
this.dataSource = batchDataSource.getIfAvailable(() -> dataSource);
125125
this.transactionManager = batchTransactionManager.getIfAvailable(() -> transactionManager);
126-
this.taskExector = batchTaskExecutor.getIfAvailable();
126+
this.taskExecutor = batchTaskExecutor.getIfAvailable();
127127
this.properties = properties;
128128
this.batchConversionServiceCustomizers = batchConversionServiceCustomizers.orderedStream().toList();
129129
this.executionContextSerializer = executionContextSerializer.getIfAvailable();
@@ -180,7 +180,7 @@ protected JobParametersConverter getJobParametersConverter() {
180180

181181
@Override
182182
protected TaskExecutor getTaskExecutor() {
183-
return (this.taskExector != null) ? this.taskExector : super.getTaskExecutor();
183+
return (this.taskExecutor != null) ? this.taskExecutor : super.getTaskExecutor();
184184
}
185185

186186
}

0 commit comments

Comments
 (0)