Просмотр исходного кода

Change visibility of DirCacheTree#getObjectId to public

Allow access to the ObjectId of a DirCacheTree if known for low level
integration code.

Change-Id: I6f05b10c9ac781f5e8b38af4a19e653313c91fa8
Signed-off-by: Philipp Marx <smigfu@googlemail.com>
tags/v4.3.0.201603230630-rc1
Philipp Marx 8 лет назад
Родитель
Сommit
011e5da3e0
1 измененных файлов: 9 добавлений и 1 удалений
  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 Просмотреть файл

return children[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; return id;
} }



Загрузка…
Отмена
Сохранить