]> source.dussan.org Git - jgit.git/commitdiff
Remove deprecated RefDatabase#getRef(String) method 98/1200398/2
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 30 Aug 2024 15:33:43 +0000 (17:33 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 3 Sep 2024 14:11:03 +0000 (16:11 +0200)
Change-Id: I89f42db2b9dabee18d4220457436b9f9b6340f50

org.eclipse.jgit/src/org/eclipse/jgit/lib/RefDatabase.java

index 9e05a397318a22095ef08967629fe1590bf6e28f..2cf24185c7b6f101f3624c5a5968d64550453418 100644 (file)
@@ -237,23 +237,6 @@ public abstract class RefDatabase {
                return false;
        }
 
-       /**
-        * Compatibility synonym for {@link #findRef(String)}.
-        *
-        * @param name
-        *            the name of the reference. May be a short name which must be
-        *            searched for using the standard {@link #SEARCH_PATH}.
-        * @return the reference (if it exists); else {@code null}.
-        * @throws IOException
-        *             the reference space cannot be accessed.
-        * @deprecated Use {@link #findRef(String)} instead.
-        */
-       @Deprecated
-       @Nullable
-       public final Ref getRef(String name) throws IOException {
-               return findRef(name);
-       }
-
        /**
         * Read a single reference.
         * <p>