timmylicheng commented on a change in pull request #1595:
URL: https://github.com/apache/ozone/pull/1595#discussion_r526657800
##########
File path:
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/BucketEndpoint.java
##########
@@ -112,6 +112,10 @@ public Response list(
ContinueToken decodedToken =
ContinueToken.decodeFromString(continueToken);
+ // stand for startAfter
+ if (startAfter == null) {
+ startAfter = marker;
+ }
Review comment:
After startAfter = marker, could startAfter be null?
We may remove duplicated check for startAfter after this null checker.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]