]> source.dussan.org Git - jgit.git/commitdiff
Remove deprecated TransportHttp#httpOpen(String, URL) 19/119119/2
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 9 Mar 2018 23:40:52 +0000 (00:40 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Sat, 10 Mar 2018 18:41:26 +0000 (19:41 +0100)
Use TransportHttp#httpOpen(String, URL, AcceptEncoding) instead.

Change-Id: I4ad423175daa5499caad9cccb88076d371331569
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java

index a1826231abf4881e95385b16f6849f9241c3e634..b300d55477e287cae1b5704584fd49fa3df76a26 100644 (file)
@@ -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.
         *