umamaheswararao commented on a change in pull request #3094:
URL: https://github.com/apache/ozone/pull/3094#discussion_r807566778



##########
File path: 
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/io/KeyInputStream.java
##########
@@ -264,7 +264,7 @@ protected synchronized int 
readWithStrategy(ByteReaderStrategy strategy)
 
       // Get the current blockStream and read data from it
       BlockExtendedInputStream current = blockStreams.get(blockIndex);
-      int numBytesToRead = Math.min(buffLen, (int)current.getRemaining());
+      int numBytesToRead = (int)Math.min(buffLen, current.getRemaining());

Review comment:
       Above line needs format based on latest checkstyle rules. Please rebase 
based on latest EC branch, which got updated with latest rules and it might 
flag warning here.




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