From: Matthias Sohn Date: Fri, 9 Mar 2018 23:40:52 +0000 (+0100) Subject: Remove deprecated TransportHttp#httpOpen(String, URL) X-Git-Tag: v5.0.0.201805151920-m7~109 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fchanges%2F19%2F119119%2F2;p=jgit.git Remove deprecated TransportHttp#httpOpen(String, URL) Use TransportHttp#httpOpen(String, URL, AcceptEncoding) instead. Change-Id: I4ad423175daa5499caad9cccb88076d371331569 Signed-off-by: Matthias Sohn --- diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java index a1826231ab..b300d55477 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java @@ -795,21 +795,6 @@ public class TransportHttp extends HttpTransport implements WalkTransport, } } - /** - * Open an HTTP connection, setting the accept-encoding request header to gzip. - * - * @param method HTTP request method - * @param u url of the HTTP connection - * @return the HTTP connection - * @throws java.io.IOException - * @since 3.3 - * @deprecated use {@link #httpOpen(String, URL, AcceptEncoding)} instead. - */ - @Deprecated - protected HttpConnection httpOpen(String method, URL u) throws IOException { - return httpOpen(method, u, AcceptEncoding.GZIP); - } - /** * Open an HTTP connection. *