From 17fda85af34bfc957df45d1fa65f0360d13e499c Mon Sep 17 00:00:00 2001 From: dhgarrette Date: Thu, 11 Jun 2009 23:09:58 +0000 Subject: [PATCH] BATCH-1288: Typo in CallableTaskletAdapter JavaDoc --- .../core/step/tasklet/CallableTaskletAdapter.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/step/tasklet/CallableTaskletAdapter.java b/spring-batch-core/src/main/java/org/springframework/batch/core/step/tasklet/CallableTaskletAdapter.java index fbb503cf4..5ee760332 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/step/tasklet/CallableTaskletAdapter.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/step/tasklet/CallableTaskletAdapter.java @@ -17,7 +17,6 @@ package org.springframework.batch.core.step.tasklet; import java.util.concurrent.Callable; -import org.springframework.batch.core.ExitStatus; import org.springframework.batch.core.StepContribution; import org.springframework.batch.core.scope.context.ChunkContext; import org.springframework.batch.repeat.RepeatStatus; @@ -25,8 +24,8 @@ import org.springframework.beans.factory.InitializingBean; import org.springframework.util.Assert; /** - * Adapts a {@link Callable}<{@link ExitStatus}> to the - * {@link Tasklet} interface. + * Adapts a {@link Callable}<{@link RepeatStatus}> to the {@link Tasklet} + * interface. * * @author Dave Syer * @@ -34,7 +33,7 @@ import org.springframework.util.Assert; public class CallableTaskletAdapter implements Tasklet, InitializingBean { private Callable callable; - + /** * Public setter for the {@link Callable}. * @param callable the {@link Callable} to set @@ -42,7 +41,7 @@ public class CallableTaskletAdapter implements Tasklet, InitializingBean { public void setCallable(Callable callable) { this.callable = callable; } - + /** * Assert that the callable is set. * @@ -53,7 +52,7 @@ public class CallableTaskletAdapter implements Tasklet, InitializingBean { } /** - * Execute the provided Callable and return its {@link ExitStatus}. Ignores + * Execute the provided Callable and return its {@link RepeatStatus}. Ignores * the {@link StepContribution} and the attributes. * @see Tasklet#execute(StepContribution, ChunkContext) */