snvijaya commented on a change in pull request #2548:
URL: https://github.com/apache/hadoop/pull/2548#discussion_r555639626
##########
File path:
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystemStore.java
##########
@@ -865,16 +873,16 @@ public FileStatus getFileStatus(final Path path) throws
IOException {
startFrom);
final String relativePath = getRelativePath(path);
- String continuation = null;
- // generate continuation token if a valid startFrom is provided.
- if (startFrom != null && !startFrom.isEmpty()) {
- continuation = getIsNamespaceEnabled()
- ? generateContinuationTokenForXns(startFrom)
- : generateContinuationTokenForNonXns(relativePath, startFrom);
+ if (continuation == null || continuation.length() < 1) {
Review comment:
continuation.isEmpty()
----------------------------------------------------------------
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]