aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2018-12-17 20:51:38 +0000
committerGerrit Code Review <gerrit@onap.org>2018-12-17 20:51:38 +0000
commitdb0666e95224084d7996d76ce49d4b5f2b7db0bd (patch)
treed2bf9f44c048a11b17c69cbc02582cbd7faf698c
parent3b7596ae5d28461b0c8eb2efc0f6183321eb6f3e (diff)
parent6f43bd02d4851c97d857cf65efbd581a9078c3d8 (diff)
Merge "Sonar Fix: XmlParser.java"
-rw-r--r--properties-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/prop/XmlParser.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/properties-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/prop/XmlParser.java b/properties-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/prop/XmlParser.java
index 0b308c2b..68b2f74e 100644
--- a/properties-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/prop/XmlParser.java
+++ b/properties-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/prop/XmlParser.java
@@ -2,8 +2,7 @@
* ============LICENSE_START=======================================================
* openECOMP : SDN-C
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- *
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. *
* Modifications Copyright © 2018 IBM.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -73,10 +72,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();
@@ -87,6 +82,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 {