Merge "Change visibility of DirCacheTree#getObjectId to public"

This commit is contained in:
Matthias Sohn 2016-03-07 20:11:59 -05:00 committed by Gerrit Code Review @ Eclipse.org
commit 6bcd8c6e90
1 changed files with 9 additions and 1 deletions

View File

@ -249,7 +249,15 @@ public DirCacheTree getChild(final int i) {
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;
}