Skip to content

Commit

Permalink
HADOOP-19277. Files and directories mixed up in TreeScanResults#dump (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai authored Sep 17, 2024
1 parent 4d968ad commit 182feb1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1922,10 +1922,10 @@ public String toString() {
*/
private String dump() {
StringBuilder sb = new StringBuilder(toString());
sb.append("\nFiles:");
sb.append("\nDirectories:");
directories.forEach(p ->
sb.append("\n \"").append(p.toString()));
sb.append("\nDirectories:");
sb.append("\nFiles:");
files.forEach(p ->
sb.append("\n \"").append(p.toString()));
return sb.toString();
Expand Down

0 comments on commit 182feb1

Please sign in to comment.