ivanzlenko commented on code in PR #6221:
URL: https://github.com/apache/ozone/pull/6221#discussion_r1490643582


##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/protocolPB/OzoneManagerProtocolClientSideTranslatorPB.java:
##########
@@ -1033,7 +1033,7 @@ public ListKeysLightResult listKeysLight(String 
volumeName,
     reqBuilder.setBucketName(bucketName);
     reqBuilder.setCount(maxKeys);
 
-    if (StringUtils.isNotEmpty(startKey)) {
+    if (startKey != null) {

Review Comment:
   The goal of this change is to make this check consistent between several 
methods. I can replace all similar checks to isNotEmpty though. 



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