Permalink
Browse files

Better readability on toString.

  • Loading branch information...
1 parent 1486c16 commit 45be07f36d6d3622ac4e1b6ef97fd4d585f80784 @afeinberg afeinberg committed Feb 3, 2010
@@ -39,6 +39,11 @@ public void run() {
markComplete();
}
+ @Override
+ public String toString() {
+ return getStatus().toString();
+ }
+
abstract public void operate() throws Exception;
@JmxOperation
@@ -40,7 +40,7 @@ public String toString() {
for(Object value: values()) {
AsyncOperation operation = (AsyncOperation) value;
builder.append(operation.toString());
- builder.append(", ");
+ builder.append(",\n");
}
builder.append("])");

0 comments on commit 45be07f

Please sign in to comment.