Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
* @author Lucas Ward
* @author Will Schipp
* @author Mahmoud Ben Hassine
* @author Andrey Litvitski
* @since 2.0
* @deprecated since 6.0 in favor of {@link TaskExecutorJobOperator}. Scheduled for
* removal in 6.2 or later.
Expand Down Expand Up @@ -188,7 +189,7 @@ public JobExecution start(Job job, JobParameters jobParameters)
Assert.notNull(job, "The Job must not be null.");
Assert.notNull(jobParameters, "The JobParameters must not be null.");
if (job.getJobParametersIncrementer() != null) {
if (logger.isWarnEnabled()) {
if (!jobParameters.isEmpty() && logger.isWarnEnabled()) {
logger.warn(String.format(
"Attempting to launch job '%s' which defines an incrementer with additional parameters={%s}. Those additional parameters will be ignored.",
job.getName(), jobParameters));
Expand Down