Skip to content

Commit

Permalink
Issue checkstyle#614: Resolve Deprecated API IDEA violations
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyom-Yadav committed Aug 26, 2022
1 parent d9d70be commit 7b237be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,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 7b237be

Please sign in to comment.