Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c4f3b3

Browse files
committed
Replaced tabs with spaces
1 parent cc317f8 commit 9c4f3b3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/com/alexbbb/uploadservice/AllCertificatesAndHostsTruster.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,13 @@ public static void apply() {
4747
context.init(null, trustAllCerts, new SecureRandom());
4848
HttpsURLConnection.setDefaultSSLSocketFactory(context.getSocketFactory());
4949
HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() {
50-
51-
@Override
52-
public boolean verify(String hostname, SSLSession session) {
53-
return true;
54-
}
55-
});
50+
51+
@Override
52+
public boolean verify(String hostname, SSLSession session) {
53+
return true;
54+
}
55+
});
56+
5657
} catch (Exception e) {
5758
LOGGER.log(Level.INFO, SSL_FAILED);
5859
}

0 commit comments

Comments
 (0)