From b09b30b158e224c0c1e79d8236330d6a90a961fa Mon Sep 17 00:00:00 2001 From: dsyer Date: Fri, 9 May 2008 13:50:38 +0000 Subject: [PATCH] Tweak logging to refer to "repeat" instead of "batch" --- .../batch/repeat/support/RepeatTemplate.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/support/RepeatTemplate.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/support/RepeatTemplate.java index a8313bee1..bdfc1d2ae 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/support/RepeatTemplate.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/support/RepeatTemplate.java @@ -205,7 +205,7 @@ public class RepeatTemplate implements RepeatOperations { // Check that we are still running... if (running) { - logger.debug("Batch operation about to start at count=" + context.getStartedCount()); + logger.debug("Repeat operation about to start at count=" + context.getStartedCount()); try { @@ -379,7 +379,7 @@ public class RepeatTemplate implements RepeatOperations { complete = complete || isMarkedComplete(context.getParent()); } if (complete) { - logger.debug("Batch is complete according to context alone."); + logger.debug("Repeat is complete according to context alone."); } return complete; @@ -415,7 +415,7 @@ public class RepeatTemplate implements RepeatOperations { protected boolean isComplete(RepeatContext context, ExitStatus result) { boolean complete = completionPolicy.isComplete(context, result); if (complete) { - logger.debug("Batch is complete according to policy and result value."); + logger.debug("Repeat is complete according to policy and result value."); } return complete; } @@ -428,7 +428,7 @@ public class RepeatTemplate implements RepeatOperations { protected boolean isComplete(RepeatContext context) { boolean complete = completionPolicy.isComplete(context); if (complete) { - logger.debug("Batch is complete according to policy alone not including result."); + logger.debug("Repeat is complete according to policy alone not including result."); } return complete; } @@ -442,7 +442,7 @@ public class RepeatTemplate implements RepeatOperations { RepeatContext parent = RepeatSynchronizationManager.getContext(); RepeatContext context = completionPolicy.start(parent); RepeatSynchronizationManager.register(context); - logger.debug("Starting batch step."); + logger.debug("Starting repeat context."); return context; }