Sonar fix: SdncUebConfiguration.java 10/75010/1
authorArundathi Patil <arundpil@in.ibm.com>
Thu, 20 Dec 2018 17:11:19 +0000 (22:41 +0530)
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>
Thu, 20 Dec 2018 17:11:45 +0000 (22:41 +0530)
Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-866
Change-Id: Icac8e0347d068902217e813a302db69b1bf5cc47
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebConfiguration.java

index 0500954..0088a14 100644 (file)
@@ -4,6 +4,7 @@
  * ================================================================================
  * Copyright (C) 2017 AT&T Intellectual Property. All rights
  *                     reserved.
+ * Modifications Copyright © 2018 IBM.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -58,10 +59,6 @@ public class SdncUebConfiguration implements IConfiguration{
 
        private SdncArtifactMap artifactMap = SdncArtifactMap.getInstance();
 
-       public String getAsdcApiNamespace() {
-               return asdcApiNamespace;
-       }
-
        private String incomingDir = null;
 
        private String archiveDir = null;
@@ -74,14 +71,6 @@ public class SdncUebConfiguration implements IConfiguration{
 
        private String xsltPathList;
 
-       public String getXsltPathList() {
-               return xsltPathList;
-       }
-
-       public String getOverrideFile() {
-               return overrideFile;
-       }
-
        public SdncUebConfiguration() {
                String propDir = System.getenv(SDNC_CONFIG_DIR);
                if (propDir == null) {
@@ -103,6 +92,17 @@ public class SdncUebConfiguration implements IConfiguration{
                }
        }
 
+       public String getAsdcApiNamespace() {
+               return asdcApiNamespace;
+       }
+
+       public String getXsltPathList() {
+               return xsltPathList;
+       }
+
+       public String getOverrideFile() {
+               return overrideFile;
+       }
 
        public void init(String propDir) throws IOException {
                String propPath;