From c9d1d1a1ad3fd3bc9e6c53da4a8d176ec73ba81e Mon Sep 17 00:00:00 2001 From: dinesha Date: Wed, 14 Aug 2019 14:31:22 +0530 Subject: Sonar Fix - HttpsAuthClient.java Fixed Sonar issues accross the file Issue-ID: VID-547 Change-Id: I2b344b48fec4e153cb47154ec49998aa1c267a95 Signed-off-by: dinesha --- .../main/java/org/onap/vid/aai/util/HttpsAuthClient.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'vid-app-common') diff --git a/vid-app-common/src/main/java/org/onap/vid/aai/util/HttpsAuthClient.java b/vid-app-common/src/main/java/org/onap/vid/aai/util/HttpsAuthClient.java index af181eb1f..391c295e0 100644 --- a/vid-app-common/src/main/java/org/onap/vid/aai/util/HttpsAuthClient.java +++ b/vid-app-common/src/main/java/org/onap/vid/aai/util/HttpsAuthClient.java @@ -51,6 +51,12 @@ public class HttpsAuthClient { private final SystemPropertyHelper systemPropertyHelper; private final SSLContextProvider sslContextProvider; + private final String certFilePath; + FeatureManager featureManager; + + /** The logger. */ + static EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(org.onap.vid.aai.util.HttpsAuthClient.class); + public HttpsAuthClient(String certFilePath, SystemPropertyHelper systemPropertyHelper, SSLContextProvider sslContextProvider, FeatureManager featureManager) { this.certFilePath = certFilePath; @@ -59,13 +65,6 @@ public class HttpsAuthClient { this.featureManager = featureManager; } - private final String certFilePath; - - FeatureManager featureManager; - - /** The logger. */ - static EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(org.onap.vid.aai.util.HttpsAuthClient.class); - /** * Gets the client. -- cgit 1.2.3-korg