diff options
author | Robin Stocker <robin@nibor.org> | 2013-04-27 14:18:59 +0200 |
---|---|---|
committer | Robin Stocker <robin@nibor.org> | 2013-04-27 14:18:59 +0200 |
commit | 664d738c9fe8fffaecf6cd7ba3a88a5b76b03b6a (patch) | |
tree | 023835141b45d051373166a6da02e2b679006796 /org.eclipse.jgit | |
parent | 37f0e324b5e82f55371ef8adc195d35f7a196c58 (diff) | |
download | jgit-664d738c9fe8fffaecf6cd7ba3a88a5b76b03b6a.tar.gz jgit-664d738c9fe8fffaecf6cd7ba3a88a5b76b03b6a.zip |
Refer to getEntryPathLength in docs of getEntryPathBuffer
Change-Id: Icca41d80bd0791cd2d4bf03297795d161afbee70
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java index 4cf79c0a27..2dd3c3aa14 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java @@ -425,7 +425,14 @@ public abstract class AbstractTreeIterator { return TreeWalk.pathOf(this); } - /** @return the internal buffer holding the current path. */ + /** + * Get the current entry path buffer. + * <p> + * Note that the returned byte[] has to be used together with + * {@link #getEntryPathLength()} (only use bytes up to this length). + * + * @return the internal buffer holding the current path. + */ public byte[] getEntryPathBuffer() { return path; } |