summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-04-21 11:25:41 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-21 11:25:41 +0000
commit7cbfea528e91a69ed7b67433b6d0359dae27658e (patch)
tree8648982d07c526147c22e004ba12de37c4fcd574
parentd5b3ca3ee1549757e58c0dc77a1d4accdeaa0402 (diff)
parentf633fb4f7954dd6fc79a541472ff1d0fd3b349cb (diff)
Merge "Fix sonar issue NetconfConfigurationService"
-rw-r--r--netconfsimulator/src/main/java/org/onap/netconfsimulator/netconfcore/configuration/NetconfConfigurationService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/netconfsimulator/src/main/java/org/onap/netconfsimulator/netconfcore/configuration/NetconfConfigurationService.java b/netconfsimulator/src/main/java/org/onap/netconfsimulator/netconfcore/configuration/NetconfConfigurationService.java
index 248aec4..8f6f0ba 100644
--- a/netconfsimulator/src/main/java/org/onap/netconfsimulator/netconfcore/configuration/NetconfConfigurationService.java
+++ b/netconfsimulator/src/main/java/org/onap/netconfsimulator/netconfcore/configuration/NetconfConfigurationService.java
@@ -64,8 +64,8 @@ public class NetconfConfigurationService {
public String editCurrentConfiguration(MultipartFile newConfiguration) throws IOException, JNCException {
Element configurationElement = convertMultipartToXmlElement(newConfiguration);
configurationEditor.editConfig(configurationElement);
-
- LOGGER.debug("Loading new configuration: \n{}", configurationElement.toXMLString());
+ String configurationXmlString = configurationElement.toXMLString();
+ LOGGER.debug("Loading new configuration: \n{}", configurationXmlString);
return CONFIGURATION_HAS_BEEN_ACTIVATED;
}