From 64fc75f2598bea46fb7f72bc26ebe66fe7e0d961 Mon Sep 17 00:00:00 2001 From: dsyer Date: Wed, 18 Feb 2009 10:28:50 +0000 Subject: [PATCH] Make StateTransition.toString() easier to read --- .../batch/core/job/flow/support/StateTransition.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/job/flow/support/StateTransition.java b/spring-batch-core/src/main/java/org/springframework/batch/core/job/flow/support/StateTransition.java index 1ce9c631a..6013d2370 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/job/flow/support/StateTransition.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/job/flow/support/StateTransition.java @@ -182,7 +182,7 @@ public class StateTransition implements Comparable { */ @Override public String toString() { - return String.format("StateTransition: state=%s, pattern=%s, next=%s", state == null ? null : state.getName(), + return String.format("StateTransition: [state=%s, pattern=%s, next=%s]", state == null ? null : state.getName(), pattern, next); }