adelapena commented on code in PR #1891:
URL: https://github.com/apache/cassandra/pull/1891#discussion_r1106058178
##########
src/java/org/apache/cassandra/db/rows/ArrayCell.java:
##########
@@ -83,23 +86,23 @@ public CellPath path()
public Cell<?> withUpdatedColumn(ColumnMetadata newColumn)
{
- return new ArrayCell(newColumn, timestamp, ttl, localDeletionTime,
value, path);
+ return new ArrayCell(newColumn, timestamp, ttl,
deletionTimeGuavaUintToLong(localDeletionTimeGuavaUint), value, path);
}
public Cell<?> withUpdatedValue(ByteBuffer newValue)
{
- return new ArrayCell(column, timestamp, ttl, localDeletionTime,
ByteBufferUtil.getArray(newValue), path);
+ return new ArrayCell(column, timestamp, ttl,
deletionTimeGuavaUintToLong(localDeletionTimeGuavaUint),
ByteBufferUtil.getArray(newValue), path);
}
- public Cell<?> withUpdatedTimestampAndLocalDeletionTime(long newTimestamp,
int newLocalDeletionTime)
+ public Cell<?> withUpdatedTimestampAndLocalDeletionTime(long newTimestamp,
long newLocalDeletionTime)
Review Comment:
This can just call to `localDeletionTime()`
--
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]