From f9a4112ecc63bc37562a36c7e06947593b90657e Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Fri, 9 Mar 2018 23:57:36 +0100 Subject: [PATCH] Remove deprecated StoredObjectRepresentationnotAvailableException ctor Use #StoredObjectRepresentationNotAvailableException(ObjectToPack, Throwable) instead. Change-Id: I766e00bc7292c7bd025aa2d7c54f10d278c7fabd Signed-off-by: Matthias Sohn --- ...ObjectRepresentationNotAvailableException.java | 15 --------------- 1 file changed, 15 deletions(-) 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. * -- 2.39.5