From 39a1b4d325b59119686547a266ce644c73da8d15 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sat, 10 Mar 2018 00:40:52 +0100 Subject: [PATCH] Remove deprecated TransportHttp#httpOpen(String, URL) Use TransportHttp#httpOpen(String, URL, AcceptEncoding) instead. Change-Id: I4ad423175daa5499caad9cccb88076d371331569 Signed-off-by: Matthias Sohn --- .../org/eclipse/jgit/transport/TransportHttp.java | 15 --------------- 1 file changed, 15 deletions(-) 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. * -- 2.39.5