Skip to content

Commit d5754db

Browse files
committed
Merge pull request koush#206 from stuckless/master
removed package protected on some fields so that subclasses could access...
2 parents 5864287 + 499d277 commit d5754db

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

AndroidAsync/src/com/koushikdutta/async/http/AsyncSSLSocketMiddleware.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public AsyncSSLSocketMiddleware(AsyncHttpClient client) {
2626
super(client, "https", 443);
2727
}
2828

29-
SSLContext sslContext;
29+
protected SSLContext sslContext;
3030

3131
public void setSSLContext(SSLContext sslContext) {
3232
this.sslContext = sslContext;
@@ -36,13 +36,13 @@ public SSLContext getSSLContext() {
3636
return sslContext != null ? sslContext : AsyncSSLSocketWrapper.getDefaultSSLContext();
3737
}
3838

39-
TrustManager[] trustManagers;
39+
protected TrustManager[] trustManagers;
4040

4141
public void setTrustManagers(TrustManager[] trustManagers) {
4242
this.trustManagers = trustManagers;
4343
}
4444

45-
HostnameVerifier hostnameVerifier;
45+
protected HostnameVerifier hostnameVerifier;
4646

4747
public void setHostnameVerifier(HostnameVerifier hostnameVerifier) {
4848
this.hostnameVerifier = hostnameVerifier;

AndroidAsync/src/com/koushikdutta/async/http/AsyncSocketMiddleware.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public AsyncSocketMiddleware(AsyncHttpClient client) {
5050
this(client, "http", 80);
5151
}
5252

53-
AsyncHttpClient mClient;
53+
protected AsyncHttpClient mClient;
5454

5555
protected ConnectCallback wrapCallback(ConnectCallback callback, Uri uri, int port, boolean proxied) {
5656
return callback;

0 commit comments

Comments
 (0)