From 243a88cd1a3b4c76822f637f1dac8fa7632b302e Mon Sep 17 00:00:00 2001 From: Sanghyuk Jung Date: Tue, 14 Mar 2023 00:57:30 +0900 Subject: [PATCH] Fix Javadoc in JobLauncherApplicationRunner --- .../autoconfigure/batch/JobLauncherApplicationRunner.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobLauncherApplicationRunner.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobLauncherApplicationRunner.java index 32520c14db44..1c72ada92011 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobLauncherApplicationRunner.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobLauncherApplicationRunner.java @@ -57,9 +57,9 @@ import org.springframework.util.StringUtils; /** - * {@link ApplicationRunner} to {@link JobLauncher launch} Spring Batch jobs. Runs all - * jobs in the surrounding context by default. Can also be used to launch a specific job - * by providing a jobName + * {@link ApplicationRunner} to {@link JobLauncher launch} Spring Batch jobs. + * If a single job is found in the context, it will be executed by default. + * If multiple jobs are found, launch a specific job by providing a jobName * * @author Dave Syer * @author Jean-Pierre Bergamin