Sonar Fix - HttpsAuthClient.java 26/93526/1
authordinesha <dineshgs@in.ibm.com>
Wed, 14 Aug 2019 09:01:22 +0000 (14:31 +0530)
committerdinesha <dineshgs@in.ibm.com>
Wed, 14 Aug 2019 09:01:44 +0000 (14:31 +0530)
Fixed Sonar issues accross the file

Issue-ID: VID-547
Change-Id: I2b344b48fec4e153cb47154ec49998aa1c267a95
Signed-off-by: dinesha <dineshgs@in.ibm.com>
vid-app-common/src/main/java/org/onap/vid/aai/util/HttpsAuthClient.java

index af181eb..391c295 100644 (file)
@@ -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.