summaryrefslogtreecommitdiffstats
path: root/restapi-call-node
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2018-12-17 19:58:04 +0000
committerGerrit Code Review <gerrit@onap.org>2018-12-17 19:58:04 +0000
commit590612b5f7fb2e70518c7cdcb8e81e4d380c3307 (patch)
tree86ddcde3da3c5a1496da51177cbba3af297c6867 /restapi-call-node
parent0d1a8d87eadc7a6a6d46b096752a2b80f4cfae9e (diff)
parent9be85cf20aa93908596014a988c03446ad3e0dab (diff)
Merge "Sonar Fix: XmlParser.java"
Diffstat (limited to 'restapi-call-node')
-rw-r--r--restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlParser.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlParser.java b/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlParser.java
index 9aede5b7e..cf6af66f2 100644
--- a/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlParser.java
+++ b/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlParser.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.
@@ -73,9 +74,8 @@ 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();
public Handler(Set<String> listNameList) {
super();
@@ -84,8 +84,9 @@ public final class XmlParser {
this.listNameList = new HashSet<>();
}
- StringBuilder currentName = new StringBuilder();
- StringBuilder currentValue = new StringBuilder();
+ public Map<String, String> getProperties() {
+ return properties;
+ }
@Override
public void startElement(String uri, String localName, String qName, Attributes attributes)