belliottsmith commented on code in PR #213:
URL: https://github.com/apache/cassandra-accord/pull/213#discussion_r2218761741


##########
accord-core/src/test/java/accord/impl/list/ListAgent.java:
##########
@@ -124,7 +125,7 @@ public Tracing trace(TxnId txnId, TraceEventType eventType)
     @Override
     public void onInconsistentTimestamp(Command command, Timestamp prev, 
Timestamp next)
     {
-        throw new AssertionError("Inconsistent execution timestamp detected 
for command " + command + ": " + prev + " != " + next);
+        throw new AssertionError(String.format("Inconsistent execution 
timestamp detected for command %s: %s != %s", command, prev, next));

Review Comment:
   perhaps just invoke Invariants.illegalState if you want to reformat this?



-- 
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: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to