HDFS-13598. Reduce unnecessary byte-to-string transform operation in INodesInPath#toString. Contributed by Gabor Bota.
This commit is contained in:
parent
d996479954
commit
7a87add4ea
|
@ -484,7 +484,7 @@ public class INodesInPath {
|
||||||
}
|
}
|
||||||
|
|
||||||
final StringBuilder b = new StringBuilder(getClass().getSimpleName())
|
final StringBuilder b = new StringBuilder(getClass().getSimpleName())
|
||||||
.append(": path = ").append(DFSUtil.byteArray2PathString(path))
|
.append(": path = ").append(getPath())
|
||||||
.append("\n inodes = ");
|
.append("\n inodes = ");
|
||||||
if (inodes == null) {
|
if (inodes == null) {
|
||||||
b.append("null");
|
b.append("null");
|
||||||
|
|
Loading…
Reference in New Issue