adelapena commented on code in PR #1891:
URL: https://github.com/apache/cassandra/pull/1891#discussion_r1106076038
##########
src/java/org/apache/cassandra/db/rows/BufferCell.java:
##########
@@ -116,15 +117,15 @@ public CellPath path()
public Cell<?> withUpdatedColumn(ColumnMetadata newColumn)
{
- return new BufferCell(newColumn, timestamp, ttl, localDeletionTime,
value, path);
+ return new BufferCell(newColumn, timestamp, ttl,
deletionTimeGuavaUintToLong(localDeletionTimeGuavaUint), value, path);
Review Comment:
Same as in `ArrayCell`, we can use a private constructor taking the uint so
we don't need to do the transformation twice. Same in the method right below.
--
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]