From f6503a043bd4fb848d28d2f5d4aa45224041e099 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Sat, 29 Dec 2018 00:08:23 +0530 Subject: Sonar fix: XmlParser.java Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-800 Change-Id: I8d00a6e07bedeee7d5f3afebed982453fe0a4c2d Signed-off-by: Arundathi Patil --- .../org/onap/ccsdk/sli/plugins/sshapicall/model/XmlParser.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sshapi-call-node/provider/src') diff --git a/sshapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/sshapicall/model/XmlParser.java b/sshapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/sshapicall/model/XmlParser.java index f386d401a..6ea770ad9 100644 --- a/sshapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/sshapicall/model/XmlParser.java +++ b/sshapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/sshapicall/model/XmlParser.java @@ -77,10 +77,6 @@ public final class XmlParser { private Map properties = new HashMap<>(); - public Map getProperties() { - return properties; - } - StringBuilder currentName = new StringBuilder(); StringBuilder currentValue = new StringBuilder(); @@ -91,6 +87,10 @@ public final class XmlParser { this.listNameList = new HashSet<>(); } + public Map getProperties() { + return properties; + } + @Override public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { -- cgit 1.2.3-korg