adelapena commented on code in PR #1891:
URL: https://github.com/apache/cassandra/pull/1891#discussion_r1134126275


##########
src/java/org/apache/cassandra/db/RangeTombstoneList.java:
##########
@@ -58,26 +60,31 @@ public class RangeTombstoneList implements 
Iterable<RangeTombstone>, IMeasurable
     private ClusteringBound<?>[] starts;
     private ClusteringBound<?>[] ends;
     private long[] markedAts;
-    private int[] delTimes;
+    private int[] delTimesUnsignedIntegers;
 
     private long boundaryHeapSize;
     private int size;
 
-    private RangeTombstoneList(ClusteringComparator comparator, 
ClusteringBound<?>[] starts, ClusteringBound<?>[] ends, long[] markedAts, int[] 
delTimes, long boundaryHeapSize, int size)
+    private RangeTombstoneList(ClusteringComparator comparator, 
ClusteringBound<?>[] starts, ClusteringBound<?>[] ends, long[] markedAts, 
long[] delTimes, long boundaryHeapSize, int size)

Review Comment:
   We can just remove this private constructor, since we only call it from the 
`RangeTombstoneList(ClusteringComparator, int)` constructor to build the class 
with an empty array. That also makes `CassandraUInt.fromLong` unneeded.



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