david-streamlio commented on a change in pull request #2865: Refactored JCloud 
Tiered Storage
URL: https://github.com/apache/pulsar/pull/2865#discussion_r229369098
 
 

 ##########
 File path: 
tiered-storage/jcloud/src/main/java/org/apache/bookkeeper/mledger/offload/jcloud/impl/BlockAwareSegmentInputStreamImpl.java
 ##########
 @@ -212,7 +212,7 @@ public static long getHeaderSize() {
     // Calculate the block size after uploaded `entryBytesAlreadyWritten` bytes
     public static int calculateBlockSize(int maxBlockSize, ReadHandle 
readHandle,
                                          long firstEntryToWrite, long 
entryBytesAlreadyWritten) {
-        return (int)Math.min(
 
 Review comment:
   Corrected check style violation. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to