]> source.dussan.org Git - jgit.git/commitdiff
Remove deprecated StoredObjectRepresentationnotAvailableException ctor 12/119112/1
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 9 Mar 2018 22:57:36 +0000 (23:57 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 9 Mar 2018 22:57:36 +0000 (23:57 +0100)
Use #StoredObjectRepresentationNotAvailableException(ObjectToPack,
Throwable) instead.

Change-Id: I766e00bc7292c7bd025aa2d7c54f10d278c7fabd
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/errors/StoredObjectRepresentationNotAvailableException.java

index 8fa14c7d381fa786c3ffa33c900d8c65530aefe3..611fd66aaba8be1a2dabf203bb780e05cbbab923 100644 (file)
@@ -51,21 +51,6 @@ import org.eclipse.jgit.internal.storage.pack.ObjectToPack;
 public class StoredObjectRepresentationNotAvailableException extends Exception { //TODO remove unused ObjectToPack in 5.0
        private static final long serialVersionUID = 1L;
 
-       /**
-        * Construct an error for an object.
-        *
-        * @param otp
-        *            the object whose current representation is no longer present.
-        * @deprecated use
-        *             {@link #StoredObjectRepresentationNotAvailableException(ObjectToPack, Throwable)}
-        *             instead.
-        * @since 3.0
-        */
-       @Deprecated
-       public StoredObjectRepresentationNotAvailableException(ObjectToPack otp) {
-               // Do nothing.
-       }
-
        /**
         * Construct an error for an object.
         *