From e475f0e3d000a6c0a1922daef32979ee982e88d4 Mon Sep 17 00:00:00 2001 From: dsyer Date: Tue, 21 Aug 2007 15:09:11 +0000 Subject: [PATCH] Test method tenmplates --- .../batch/sample/AbstractBatchLauncherTests.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/samples/src/test/java/org/springframework/batch/sample/AbstractBatchLauncherTests.java b/samples/src/test/java/org/springframework/batch/sample/AbstractBatchLauncherTests.java index 448dc249c..73e2d00f9 100644 --- a/samples/src/test/java/org/springframework/batch/sample/AbstractBatchLauncherTests.java +++ b/samples/src/test/java/org/springframework/batch/sample/AbstractBatchLauncherTests.java @@ -45,10 +45,6 @@ public abstract class AbstractBatchLauncherTests extends AbstractDependencyInjec return jobConfiguration.getName(); } - public void setBatchContainerLauncher(SynchronousJobLauncher launcher) { - this.launcher = launcher; - } - /** * @param jobConfiguration the jobConfiguration to set */ @@ -56,4 +52,13 @@ public abstract class AbstractBatchLauncherTests extends AbstractDependencyInjec this.jobConfiguration = jobConfiguration; } + /** + * Public setter for the {@link SynchronousJobLauncher} property. + * + * @param launcher the launcher to set + */ + public void setLauncher(SynchronousJobLauncher launcher) { + this.launcher = launcher; + } + }