We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14d8a30 commit d683bb4Copy full SHA for d683bb4
1 file changed
src/main/java/com/factset/sdk/utils/authentication/ConfidentialClient.java
@@ -195,9 +195,8 @@ private void requestProviderMetadata() throws AuthServerMetadataContentException
195
if (this.requestOptions == null) stream = wellKnownURL.openStream();
196
else {
197
HttpURLConnection conn = (HttpURLConnection) wellKnownURL.openConnection(this.requestOptions.getProxy());
198
- HttpsURLConnection sslConn = null;
199
if (conn instanceof HttpsURLConnection) {
200
- sslConn = (HttpsURLConnection) conn;
+ HttpsURLConnection sslConn = (HttpsURLConnection) conn;
201
sslConn.setHostnameVerifier(this.requestOptions.getHostnameVerifier());
202
sslConn.setSSLSocketFactory(this.requestOptions.getSslSocketFactory());
203
}
0 commit comments