Skip to content

Commit 1258db9

Browse files
forlulzfmbenhassine
authored andcommitted
Fix error message
Issue #4528
1 parent 24eb3ba commit 1258db9

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/launch/support/JobOperatorFactoryBean.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2022-2023 the original author or authors.
2+
* Copyright 2022-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -71,7 +71,7 @@ public class JobOperatorFactoryBean implements FactoryBean<JobOperator>, Initial
7171
public void afterPropertiesSet() throws Exception {
7272
Assert.notNull(this.transactionManager, "TransactionManager must not be null");
7373
Assert.notNull(this.jobLauncher, "JobLauncher must not be null");
74-
Assert.notNull(this.jobRegistry, "JobLocator must not be null");
74+
Assert.notNull(this.jobRegistry, "JobRegistry must not be null");
7575
Assert.notNull(this.jobExplorer, "JobExplorer must not be null");
7676
Assert.notNull(this.jobRepository, "JobRepository must not be null");
7777
if (this.transactionAttributeSource == null) {

0 commit comments

Comments
 (0)