Skip to content

Commit

Permalink
fix: addressing reviews v3
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhatha committed Aug 14, 2024
1 parent 093b6bf commit e94318b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -506,9 +506,7 @@ public void splitAndTransfer(int startIndex, int length) {
final int offsetValue = offsetBuffer.getInt((long) (startIndex + i) * OFFSET_WIDTH);
final int sizeValue = sizeBuffer.getInt((long) (startIndex + i) * SIZE_WIDTH);
to.sizeBuffer.setInt((long) i * SIZE_WIDTH, sizeValue);
if (maxOffsetAndSizeSum < offsetValue + sizeValue) {
maxOffsetAndSizeSum = offsetValue + sizeValue;
}
maxOffsetAndSizeSum = Math.max(maxOffsetAndSizeSum, offsetValue + sizeValue);
minOffsetValue = Math.min(minOffsetValue, offsetValue);
}

Expand Down

0 comments on commit e94318b

Please sign in to comment.