Skip to content

Commit

Permalink
Issue #614: Resolve Deprecated API IDEA violations
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyom-Yadav authored and nrmancuso committed Aug 29, 2022
1 parent c8e12da commit 99add3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ private static ObjectId getActualRefObjectId(Repository repo, String ref) throws
actualObjectId = repo.resolve(ref);
}
else {
final Ref repoPeeled = repo.peel(referenceObj);
final Ref repoPeeled = repo.getRefDatabase().peel(referenceObj);
actualObjectId = Optional.ofNullable(repoPeeled.getPeeledObjectId())
.orElse(referenceObj.getObjectId());
}
Expand Down

0 comments on commit 99add3c

Please sign in to comment.