Skip to content

Commit f77abb0

Browse files
author
Xing Lin
committed
fixed line break
1 parent 4d27c75 commit f77abb0

File tree

1 file changed

+2
-2
lines changed
  • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs

1 file changed

+2
-2
lines changed

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,9 +1274,9 @@ public Collection<FileStatus> getTrashRoots(boolean allUsers) {
12741274
} else {
12751275
FileStatus[] mountPointTrashRoots = listStatus(trashRoot);
12761276
for (FileStatus trash : mountPointTrashRoots) {
1277-
// Remove the mountPoint to get the targetFS path and use
1277+
// Remove the mountPoint to get the targetFsTrash path
12781278
String targetFsTrash = trash.getPath().toUri().getPath()
1279-
.substring(mountPoint.src.length());
1279+
.substring(mountPoint.src.length());
12801280

12811281
// Use getFileStatus to get the full path.
12821282
// Do not use targetFS.makeQualified(new Path(targetFsTrash)).

0 commit comments

Comments
 (0)