Skip to content

Commit 323bbb0

Browse files
committed
update DefaultParamsBuilder #687
1 parent ee443ae commit 323bbb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xutils/src/main/java/org/xutils/http/app/DefaultParamsBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public static SSLSocketFactory getTrustAllSSLSocketFactory() {
9090
TrustManager[] trustAllCerts = new TrustManager[]{new X509TrustManager() {
9191
@Override
9292
public X509Certificate[] getAcceptedIssuers() {
93-
return null;
93+
return new X509Certificate[0];
9494
}
9595

9696
@Override

0 commit comments

Comments
 (0)