dcapwell commented on code in PR #57:
URL: https://github.com/apache/cassandra-accord/pull/57#discussion_r1294875031
##########
accord-core/src/main/java/accord/utils/async/AsyncResults.java:
##########
@@ -201,6 +201,12 @@ public Throwable failure()
throw new IllegalStateException("Result succeeded");
return result.failure;
}
+
+ @Override
+ public String toString()
+ {
+ return getClass().getSimpleName() + "{status=" + (isDone() ?
isSuccess() ? "success" : "failure" : "pending") + "}";
Review Comment:
im in the debugger all the time, so this is to make my life easier... I
don't know if we log any results, but in a debugger there are many to look at
so saves times
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]