dcapwell commented on code in PR #4220:
URL: https://github.com/apache/cassandra/pull/4220#discussion_r2205911549


##########
src/java/org/apache/cassandra/service/accord/txn/TxnWrite.java:
##########
@@ -475,6 +489,30 @@ public long estimatedSizeOnHeap()
         return size;
     }
 
+    private static int getFlags(Update write)
+    {
+        return getFlags(() -> write.userTimestamp);
+    }
+
+    private static int getFlags(Fragment write)
+    {
+        return getFlags(() -> write.userTimestamp);
+    }

Review Comment:
   its done this way to make it testable



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

Reply via email to