maedhroz commented on code in PR #4175:
URL: https://github.com/apache/cassandra/pull/4175#discussion_r2150786936


##########
src/java/org/apache/cassandra/service/accord/txn/TxnReferenceValue.java:
##########
@@ -90,7 +93,7 @@ public int hashCode()
         @Override
         public String toString()
         {
-            return "Constant=" + ByteBufferUtil.bytesToHex(value);
+            return "Constant=" + value == null ? "null" : 
ByteBufferUtil.bytesToHex(value);

Review Comment:
   ```suggestion
               return "Constant=" + ((value == null) ? "null" : 
ByteBufferUtil.bytesToHex(value));
   ```



-- 
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