aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/lib
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2024-08-30 17:36:05 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2024-09-03 16:11:03 +0200
commitac1265a513cb6953ef6ddada61eed2235bff186f (patch)
tree8feafe7c2e3f18fe80dd8009a82af4051e4a0d86 /org.eclipse.jgit/src/org/eclipse/jgit/lib
parentdb9443d80505bd4b75326ca6a2ef41cc4beb24e4 (diff)
downloadjgit-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.java4
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) {