From: Matthias Sohn Date: Fri, 9 Mar 2018 22:57:36 +0000 (+0100) Subject: Remove deprecated StoredObjectRepresentationnotAvailableException ctor X-Git-Tag: v5.0.0.201805151920-m7~117 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fchanges%2F12%2F119112%2F1;p=jgit.git Remove deprecated StoredObjectRepresentationnotAvailableException ctor Use #StoredObjectRepresentationNotAvailableException(ObjectToPack, Throwable) instead. Change-Id: I766e00bc7292c7bd025aa2d7c54f10d278c7fabd Signed-off-by: Matthias Sohn --- diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/errors/StoredObjectRepresentationNotAvailableException.java b/org.eclipse.jgit/src/org/eclipse/jgit/errors/StoredObjectRepresentationNotAvailableException.java index 8fa14c7d38..611fd66aab 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/errors/StoredObjectRepresentationNotAvailableException.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/errors/StoredObjectRepresentationNotAvailableException.java @@ -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. *