From 6e281edac0a2d96791039dc752c68b435ef91399 Mon Sep 17 00:00:00 2001 From: nebhale Date: Fri, 8 Feb 2008 17:05:04 +0000 Subject: [PATCH] Polishing --- .../batch/execution/step/simple/SimpleStepExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-batch-execution/src/main/java/org/springframework/batch/execution/step/simple/SimpleStepExecutor.java b/spring-batch-execution/src/main/java/org/springframework/batch/execution/step/simple/SimpleStepExecutor.java index 791d3d0bc..4a8ba3323 100644 --- a/spring-batch-execution/src/main/java/org/springframework/batch/execution/step/simple/SimpleStepExecutor.java +++ b/spring-batch-execution/src/main/java/org/springframework/batch/execution/step/simple/SimpleStepExecutor.java @@ -163,8 +163,8 @@ public class SimpleStepExecutor { public void execute(final StepExecution stepExecution) throws BatchCriticalException, StepInterruptedException { final StepInstance stepInstance = stepExecution.getStep(); - boolean isRestart = stepInstance.getStepExecutionCount() > 0 ? true : false; Assert.notNull(stepInstance); + boolean isRestart = stepInstance.getStepExecutionCount() > 0 ? true : false; ExitStatus status = ExitStatus.FAILED;