Browse Source

Merge "Change visibility of DirCacheTree#getObjectId to public"

tags/v4.3.0.201603230630-rc1
Matthias Sohn 8 years ago
parent
commit
6bcd8c6e90
1 changed files with 9 additions and 1 deletions
  1. 9
    1
      org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheTree.java

+ 9
- 1
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheTree.java View File

@@ -249,7 +249,15 @@ public class DirCacheTree {
return children[i];
}

ObjectId getObjectId() {
/**
* Get the tree's ObjectId.
* <p>
* If {@link #isValid()} returns false this method will return null.
*
* @return ObjectId of this tree or null.
* @since 4.3
*/
public ObjectId getObjectId() {
return id;
}


Loading…
Cancel
Save