AbstractTreeIterator: Add toString with entry path
Helps when debugging tree walking code. Change-Id: I7ba3846a028a1538787a7d4fbf50f7c487cae6c7
This commit is contained in:
parent
1ff82ca6d0
commit
f54b74225c
|
@ -671,4 +671,9 @@ public int getNameOffset() {
|
||||||
public void getName(byte[] buffer, int offset) {
|
public void getName(byte[] buffer, int offset) {
|
||||||
System.arraycopy(path, pathOffset, buffer, offset, pathLen - pathOffset);
|
System.arraycopy(path, pathOffset, buffer, offset, pathLen - pathOffset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return getClass().getSimpleName() + "[" + getEntryPathString() + "]";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue