diff options
Diffstat (limited to 'ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/northbound/client/HttpClientFactory.java')
-rw-r--r-- | ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/northbound/client/HttpClientFactory.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/northbound/client/HttpClientFactory.java b/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/northbound/client/HttpClientFactory.java index bc286fd..168b86d 100644 --- a/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/northbound/client/HttpClientFactory.java +++ b/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/northbound/client/HttpClientFactory.java @@ -42,9 +42,8 @@ public class HttpClientFactory { } }).build(); SSLConnectionSocketFactory sslsf = new SSLConnectionSocketFactory(sslContext); - CloseableHttpClient httpclient = HttpClients.custom().setSSLSocketFactory(sslsf).build(); + return HttpClients.custom().setSSLSocketFactory(sslsf).build(); - return httpclient; } } |