Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Commit

Permalink
make HttpClientImpl#getConnection(String) protected for the better cu…
Browse files Browse the repository at this point in the history
…stomizability
  • Loading branch information
Yusuke Yamamoto committed May 3, 2012
1 parent a5f6ce7 commit 8504895
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -248,7 +248,7 @@ private void setHeaders(HttpRequest req, HttpURLConnection connection) {
}
}

private HttpURLConnection getConnection(String url) throws IOException {
protected HttpURLConnection getConnection(String url) throws IOException {
HttpURLConnection con;
if (isProxyConfigured() && !isJDK14orEarlier) {
if (CONF.getHttpProxyUser() != null && !CONF.getHttpProxyUser().equals("")) {
Expand Down

0 comments on commit 8504895

Please sign in to comment.