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; + } + }