From 03acc0273ea4194d65c84ed65404da6bb3229ca3 Mon Sep 17 00:00:00 2001 From: Sanghyuk Jung Date: Tue, 14 Mar 2023 00:57:30 +0900 Subject: [PATCH 1/2] Fix Javadoc in JobLauncherApplicationRunner See gh-34596 --- .../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 From 03865eebd720410ec0dc64086faa4937072e6368 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 14 Mar 2023 14:58:01 +0000 Subject: [PATCH 2/2] Polish "Fix Javadoc in JobLauncherApplicationRunner" See gh-34596 --- .../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 1c72ada92011..a6532ee716e8 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. - * 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 + * {@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