Skip to content

Commit 6822054

Browse files
committed
checkstyle fix
1 parent 001e137 commit 6822054

File tree

1 file changed

+1
-1
lines changed
  • hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services

1 file changed

+1
-1
lines changed

hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsDfsClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ public AbfsClientRenameResult renamePath(
619619
// ref: HADOOP-19393. Write permission checks can occur before validating
620620
// rename operation's validity. If there is an existing destination path, it may be rejected
621621
// with an authorization error. Catching and throwing FileAlreadyExistsException instead.
622-
if(op.getResult().getStorageErrorCode()
622+
if (op.getResult().getStorageErrorCode()
623623
.equals(UNAUTHORIZED_BLOB_OVERWRITE.getErrorCode())){
624624
throw new FileAlreadyExistsException(ERR_FILE_ALREADY_EXISTS);
625625
}

0 commit comments

Comments
 (0)