Skip to content

Commit 449cb23

Browse files
wonyonggmhalbritter
authored andcommitted
Fix typo in variable name
See gh-45894 Signed-off-by: wonyongg <[email protected]>
1 parent 77454a6 commit 449cb23

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
@@ -102,7 +102,7 @@ static class SpringBootBatchConfiguration extends DefaultBatchConfiguration {
102102

103103
private final PlatformTransactionManager transactionManager;
104104

105-
private final TaskExecutor taskExector;
105+
private final TaskExecutor taskExecutor;
106106

107107
private final BatchProperties properties;
108108

@@ -118,7 +118,7 @@ static class SpringBootBatchConfiguration extends DefaultBatchConfiguration {
118118
ObjectProvider<ExecutionContextSerializer> executionContextSerializer) {
119119
this.dataSource = batchDataSource.getIfAvailable(() -> dataSource);
120120
this.transactionManager = batchTransactionManager.getIfAvailable(() -> transactionManager);
121-
this.taskExector = batchTaskExecutor.getIfAvailable();
121+
this.taskExecutor = batchTaskExecutor.getIfAvailable();
122122
this.properties = properties;
123123
this.batchConversionServiceCustomizers = batchConversionServiceCustomizers.orderedStream().toList();
124124
this.executionContextSerializer = executionContextSerializer.getIfAvailable();
@@ -163,7 +163,7 @@ protected ExecutionContextSerializer getExecutionContextSerializer() {
163163

164164
@Override
165165
protected TaskExecutor getTaskExecutor() {
166-
return (this.taskExector != null) ? this.taskExector : super.getTaskExecutor();
166+
return (this.taskExecutor != null) ? this.taskExecutor : super.getTaskExecutor();
167167
}
168168

169169
}

0 commit comments

Comments
 (0)