Skip to content
Browse files

make HttpClientImpl#getConnection(String) protected for the better cu…

…stomizability
  • Loading branch information...
1 parent a5f6ce7 commit 85048954c60ac0f3f960b8af10807a826d6d09f9 Yusuke Yamamoto committed May 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 twitter4j-core/src/main/java/twitter4j/internal/http/HttpClientImpl.java
View
2 twitter4j-core/src/main/java/twitter4j/internal/http/HttpClientImpl.java
@@ -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("")) {

0 comments on commit 8504895

Please sign in to comment.
Something went wrong with that request. Please try again.