summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2018-12-11 17:29:18 +0000
committerGerrit Code Review <gerrit@onap.org>2018-12-11 17:29:18 +0000
commit3ebdd07fb6eaa2bd5e2c2b95a08ca011df045c0f (patch)
tree88a2073e9fc42b74f8400baecbff6df610be29c5
parent7bc692d1e29df8523c2ce170aa4f3bc1cd1109bb (diff)
parentf2cb0a21b9b7d4a48f25a34c9a57197cbec5dd79 (diff)
Merge "Sonar Fix: sshapi-call-node-provider-XmlParer.java"
-rw-r--r--sshapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/sshapicall/model/XmlParser.java8
1 files changed, 5 insertions, 3 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 e31754bc..f386d401 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
@@ -3,6 +3,8 @@
* openECOMP : SDN-C
* ================================================================================
* Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
+ *
+ * Modifications Copyright © 2018 IBM.
* ================================================================================
* Copyright (C) 2018 Samsung Electronics. All rights
* reserved.
@@ -79,6 +81,9 @@ public final class XmlParser {
return properties;
}
+ StringBuilder currentName = new StringBuilder();
+ StringBuilder currentValue = new StringBuilder();
+
public Handler(Set<String> listNameList) {
super();
this.listNameList = listNameList;
@@ -86,9 +91,6 @@ public final class XmlParser {
this.listNameList = new HashSet<>();
}
- StringBuilder currentName = new StringBuilder();
- StringBuilder currentValue = new StringBuilder();
-
@Override
public void startElement(String uri, String localName, String qName, Attributes attributes)
throws SAXException {