Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ff90464

Browse files
Fix return value of JobOperator.start when an incrementer is defined
1 parent eb42128 commit ff90464

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/SimpleJobOperator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,10 @@ public JobExecution start(Job job, JobParameters jobParameters)
190190
if (job.getJobParametersIncrementer() != null) {
191191
if (logger.isWarnEnabled()) {
192192
logger.warn(String.format(
193-
"Attempting to launch the job %s which defines an incrementer with additional parameters={%s}. Those parameters will be ignored.",
193+
"Attempting to launch job '%s' which defines an incrementer with additional parameters={%s}. Those additional parameters will be ignored.",
194194
job.getName(), jobParameters));
195195
}
196-
startNextInstance(job);
196+
returnstartNextInstance(job);
197197
}
198198
return run(job, jobParameters);
199199
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /