From ab4762d367b79f42f83628fd42ac63701cd7d726 Mon Sep 17 00:00:00 2001 From: robokaso Date: Tue, 9 Dec 2008 10:52:36 +0000 Subject: [PATCH] IN PROGRESS - BATCH-962: refactor TaskletStep's exception handling for better clarity removed redundant StepExecution update --- .../springframework/batch/core/step/tasklet/TaskletStep.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/step/tasklet/TaskletStep.java b/spring-batch-core/src/main/java/org/springframework/batch/core/step/tasklet/TaskletStep.java index 7982f192b..9bfc3e564 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/step/tasklet/TaskletStep.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/step/tasklet/TaskletStep.java @@ -366,11 +366,6 @@ public class TaskletStep extends AbstractStep { } } - if (fatalException.hasException()) { - // Try and give the system a chance to update the stepExecution with - // the failure status. - getJobRepository().update(stepExecution); - } } private static class ExceptionHolder {