From 7643a4addb45ffed94adc3bc9257f3fc9619e56f Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Thu, 20 Dec 2018 22:41:19 +0530 Subject: Sonar fix: SdncUebConfiguration.java Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-866 Change-Id: Icac8e0347d068902217e813a302db69b1bf5cc47 Signed-off-by: Arundathi Patil --- .../northbound/uebclient/SdncUebConfiguration.java | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'ueb-listener') diff --git a/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebConfiguration.java b/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebConfiguration.java index 0500954de..0088a14a8 100644 --- a/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebConfiguration.java +++ b/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebConfiguration.java @@ -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; -- cgit 1.2.3-korg