From 3815390158d05e5a2e57a17303a91fabc99cd679 Mon Sep 17 00:00:00 2001 From: dsyer Date: Fri, 5 Oct 2007 11:18:42 +0000 Subject: [PATCH] Javadocs --- .../batch/execution/bootstrap/SimpleJobLauncher.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/execution/src/main/java/org/springframework/batch/execution/bootstrap/SimpleJobLauncher.java b/execution/src/main/java/org/springframework/batch/execution/bootstrap/SimpleJobLauncher.java index 48c07d688..0f690a3d1 100644 --- a/execution/src/main/java/org/springframework/batch/execution/bootstrap/SimpleJobLauncher.java +++ b/execution/src/main/java/org/springframework/batch/execution/bootstrap/SimpleJobLauncher.java @@ -29,7 +29,7 @@ import org.springframework.util.Assert; * *

* This simple implementation does not run the job asynchronously, so the start - * method will not return before the job ends. However, the job execution to be + * method will not return before the job ends. However, the job execution can be * interrupted via the stop method in another thread. *

* @@ -63,11 +63,11 @@ public class SimpleJobLauncher extends AbstractJobLauncher { * @throws IllegalStateException * if JobConfiguration is null. */ - protected ExitStatus doRun(JobIdentifier jobIdentifier, Runnable exitCallback) - throws NoSuchJobConfigurationException { + protected ExitStatus doRun(JobIdentifier jobIdentifier, + Runnable exitCallback) throws NoSuchJobConfigurationException { Assert.notNull(jobIdentifier, "JobIdentifier must not be null."); - Assert.isTrue(running==0, + Assert.isTrue(running == 0, "This launcher can run only one job at at time."); /*