Resolved some TODOs.

This commit is contained in:
dsyer
2008-01-28 09:46:21 +00:00
parent 678cb7825b
commit 5ad74053cd
8 changed files with 58 additions and 72 deletions

View File

@@ -25,8 +25,6 @@ import org.springframework.batch.core.domain.StepInstance;
/**
* Data access object for steps.
*
* TODO: Add java doc.
*
* @author Lucas Ward
*
*/

View File

@@ -37,7 +37,7 @@ public class StepSynchronizationManager {
* Method for registering a context - should only be used by
* {@link StepExecutor} implementations to ensure that {@link #getContext()}
* always returns the correct value.
* @param context TODO
* @param context the step context to register
*/
public static void register(StepContext context) {
StepSynchronizationManager.contextHolder.set(context);

View File

@@ -41,7 +41,6 @@ public class ThreadStepInterruptionPolicy implements StepInterruptionPolicy {
}
/**
* TODO: add more interruption policies: they should all check context.isTerminateOnly()
* @param context the current context
* @return true if the job has been interrupted
*/