Merge changes Id255aa3d,I37f156cd
* changes: Introduce server.util.DelegateSystemReader AbstractChangeNotes: mark readRef @Nullable
This commit is contained in:
@@ -153,6 +153,7 @@ public abstract class AbstractChangeNotes<T> {
|
||||
return self();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
protected ObjectId readRef(Repository repo) throws IOException {
|
||||
Ref ref = repo.getRefDatabase().exactRef(getRefName());
|
||||
return ref != null ? ref.getObjectId() : null;
|
||||
|
||||
Reference in New Issue
Block a user