Browse Source

Merge "AbstractTreeIterator: Add toString with entry path"

stable-2.2
Christian Halstrick 12 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
b7d2c9a446
  1. 5
      org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java

5
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java

@ -671,4 +671,9 @@ public abstract class AbstractTreeIterator {
public void getName(byte[] buffer, int offset) {
System.arraycopy(path, pathOffset, buffer, offset, pathLen - pathOffset);
}
@Override
public String toString() {
return getClass().getSimpleName() + "[" + getEntryPathString() + "]";
}
}

Loading…
Cancel
Save