Sonar fix: XmlParser.java

Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-800
Change-Id: I8d00a6e07bedeee7d5f3afebed982453fe0a4c2d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
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 f386d40..6ea770a 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 @@
 
         private Map<String, String> properties = new HashMap<>();
 
-        public Map<String, String> getProperties() {
-            return properties;
-        }
-
         StringBuilder currentName = new StringBuilder();
         StringBuilder currentValue = new StringBuilder();
 
@@ -91,6 +87,10 @@
                 this.listNameList = new HashSet<>();
         }
 
+        public Map<String, String> getProperties() {
+            return properties;
+        }
+
         @Override
         public void startElement(String uri, String localName, String qName, Attributes attributes)
                 throws SAXException {