Resolved some TODOs.
This commit is contained in:
@@ -25,8 +25,6 @@ import org.springframework.batch.core.domain.StepInstance;
|
||||
/**
|
||||
* Data access object for steps.
|
||||
*
|
||||
* TODO: Add java doc.
|
||||
*
|
||||
* @author Lucas Ward
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user