Skip to content

Commit eda0464

Browse files
committed
Fix typo in method name in DefaultBatchConfiguration
1 parent 524e956 commit eda0464

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/DefaultBatchConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public JobRepository jobRepository() throws BatchConfigurationException {
146146
public JobLauncher jobLauncher() throws BatchConfigurationException {
147147
TaskExecutorJobLauncher taskExecutorJobLauncher = new TaskExecutorJobLauncher();
148148
taskExecutorJobLauncher.setJobRepository(jobRepository());
149-
taskExecutorJobLauncher.setTaskExecutor(getTaskExector());
149+
taskExecutorJobLauncher.setTaskExecutor(getTaskExecutor());
150150
try {
151151
taskExecutorJobLauncher.afterPropertiesSet();
152152
return taskExecutorJobLauncher;
@@ -343,7 +343,7 @@ protected String getDatabaseType() throws MetaDataAccessException {
343343
* {@link SyncTaskExecutor}.
344344
* @return the {@link TaskExecutor} to use in the the job launcher.
345345
*/
346-
protected TaskExecutor getTaskExector() {
346+
protected TaskExecutor getTaskExecutor() {
347347
return new SyncTaskExecutor();
348348
}
349349

0 commit comments

Comments
 (0)