diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2019-09-11 14:41:56 +0530 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2019-09-17 14:59:56 +0000 |
commit | 6baf061a9caa39bd2fff0c7420e5562dfb31a8c6 (patch) | |
tree | 4dba87b2f5c7a2ac3d126a3f646aaaec0384b587 /appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle | |
parent | 4d759ef950a2be9dbbfc05850eec6b3feb295865 (diff) |
Sonar fix- APPC-1715
Fixed multiple sonar issues across this file
Issue-ID: APPC-1715
Change-Id: I5a7df4bde164b8ec3c8f91f07646d0630d52fa59
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle')
-rw-r--r-- | appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/ConnectionBuilder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/ConnectionBuilder.java b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/ConnectionBuilder.java index 29afc633d..0bcc1a32c 100644 --- a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/ConnectionBuilder.java +++ b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/ConnectionBuilder.java @@ -110,7 +110,7 @@ public class ConnectionBuilder implements Closeable { **/ public ConnectionBuilder(String trustStoreFile, char[] trustStorePasswd, int timeout, String serverIP) throws KeyStoreException, IOException, KeyManagementException, NoSuchAlgorithmException, - CertificateException ,APPCException{ + CertificateException { /* Load the specified trustStore */ KeyStore keystore = KeyStore.getInstance("JKS"); @@ -138,7 +138,7 @@ public class ConnectionBuilder implements Closeable { */ public ConnectionBuilder(int mode, int timeout) - throws NoSuchAlgorithmException, KeyStoreException, KeyManagementException,APPCException{ + throws NoSuchAlgorithmException, KeyStoreException, KeyManagementException { RequestConfig config = RequestConfig.custom().setSocketTimeout(timeout).build(); if (mode == 1) { SSLContext sslcontext = SSLContexts.custom().loadTrustMaterial(null, new TrustSelfSignedStrategy()).build(); |