diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2018-12-29 00:08:23 +0530 |
---|---|---|
committer | IBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com> | 2018-12-29 00:08:31 +0530 |
commit | f6503a043bd4fb848d28d2f5d4aa45224041e099 (patch) | |
tree | eb94def4258d5159248f2529ac0351a8c6ac9c2a /sshapi-call-node/provider | |
parent | 62e62331a294052109f02686e4529fe613355990 (diff) |
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>
Diffstat (limited to 'sshapi-call-node/provider')
-rw-r--r-- | sshapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/sshapicall/model/XmlParser.java | 8 |
1 files changed, 4 insertions, 4 deletions
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<String, String> properties = new HashMap<>(); - public Map<String, String> 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<String, String> getProperties() { + return properties; + } + @Override public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { |