Skip to content

Commit

Permalink
Workaround to deal with pre-JDK 8 issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
dma committed Oct 5, 2014
1 parent 497d1d6 commit ef0dbbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private static SchemeRegistry createSchemeRegistry() {
final SchemeRegistry sr = new SchemeRegistry();
sr.register(new Scheme("http", 80, PlainSocketFactory.getSocketFactory()));
try {
SSLSocketFactory ssf = new SSLSocketFactory(new TrustStrategy() {
SSLSocketFactory ssf = new SSLSocketFactoryPlus(new TrustStrategy() {
@Override
public boolean isTrusted(X509Certificate[] chain, String authType)
throws CertificateException {
Expand Down

0 comments on commit ef0dbbb

Please sign in to comment.