HADOOP-19277. Files and directories mixed up in TreeScanResults#dump (#7047)
This commit is contained in:
parent
4d968add52
commit
182feb11a0
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user