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 class ContractTestUtils extends Assert {
|
|||||||
*/
|
*/
|
||||||
private String dump() {
|
private String dump() {
|
||||||
StringBuilder sb = new StringBuilder(toString());
|
StringBuilder sb = new StringBuilder(toString());
|
||||||
sb.append("\nFiles:");
|
sb.append("\nDirectories:");
|
||||||
directories.forEach(p ->
|
directories.forEach(p ->
|
||||||
sb.append("\n \"").append(p.toString()));
|
sb.append("\n \"").append(p.toString()));
|
||||||
sb.append("\nDirectories:");
|
sb.append("\nFiles:");
|
||||||
files.forEach(p ->
|
files.forEach(p ->
|
||||||
sb.append("\n \"").append(p.toString()));
|
sb.append("\n \"").append(p.toString()));
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user