diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2024-08-30 17:36:05 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2024-09-03 16:11:03 +0200 |
commit | ac1265a513cb6953ef6ddada61eed2235bff186f (patch) | |
tree | 8feafe7c2e3f18fe80dd8009a82af4051e4a0d86 /org.eclipse.jgit/src/org/eclipse/jgit/lib | |
parent | db9443d80505bd4b75326ca6a2ef41cc4beb24e4 (diff) | |
download | jgit-ac1265a513cb6953ef6ddada61eed2235bff186f.tar.gz jgit-ac1265a513cb6953ef6ddada61eed2235bff186f.zip |
Make deprecated Repository#peel(Ref) private
Change-Id: I1c16196bba00a5d0f54c10261cc08185305ba4a3
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/lib')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java index 9dde99fada..b1ecca4b60 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java @@ -1164,11 +1164,9 @@ public abstract class Repository implements AutoCloseable { * new Ref object representing the same data as Ref, but isPeeled() * will be true and getPeeledObjectId will contain the peeled object * (or null). - * @deprecated use {@code getRefDatabase().peel(ref)} instead. */ - @Deprecated @NonNull - public Ref peel(Ref ref) { + private Ref peel(Ref ref) { try { return getRefDatabase().peel(ref); } catch (IOException e) { |