HDFS-13598. Reduce unnecessary byte-to-string transform operation in INodesInPath#toString. Contributed by Gabor Bota.

This commit is contained in:
Yiqun Lin 2018-05-24 10:57:35 +08:00
parent d996479954
commit 7a87add4ea
1 changed files with 1 additions and 1 deletions

View File

@ -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");