Skip to content

Commit f2448e9

Browse files
committed
fix description setting
1 parent 88ebaab commit f2448e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/job/builder/JobBuilderHelper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ protected void enhance(AbstractJob job) {
237237

238238
String description = properties.getDescription();
239239
if (description != null) {
240-
job.setDescription(properties.description);
240+
job.setDescription(description);
241241
}
242242

243243
List<JobExecutionListener> listeners = properties.getJobExecutionListeners();

0 commit comments

Comments
 (0)