aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-tosca-converter-lib
diff options
context:
space:
mode:
authorSonsino, Ofir (os0695) <os0695@intl.att.com>2018-11-20 15:32:06 +0200
committerOren Kleks <orenkle@amdocs.com>2018-11-25 10:46:51 +0000
commit7a55ea6955c0e75fe04c0e1d0af8a346310a75f5 (patch)
treeff81fa94553da37e2fcf10fe969f6c52bd7d669b /openecomp-be/lib/openecomp-tosca-converter-lib
parentb734ea21ac7be393c59cf9976f0e5ddeaf27d568 (diff)
Fix Sonar issues
Change-Id: I487f54714f87e993b9fa4a3b43de7a65692922d5 Issue-ID: SDC-1925 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-tosca-converter-lib')
-rw-r--r--openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/main/java/org/openecomp/core/impl/services/ServiceTemplateReaderServiceImpl.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/main/java/org/openecomp/core/impl/services/ServiceTemplateReaderServiceImpl.java b/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/main/java/org/openecomp/core/impl/services/ServiceTemplateReaderServiceImpl.java
index 8621e73f26..b691d83267 100644
--- a/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/main/java/org/openecomp/core/impl/services/ServiceTemplateReaderServiceImpl.java
+++ b/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/main/java/org/openecomp/core/impl/services/ServiceTemplateReaderServiceImpl.java
@@ -20,10 +20,9 @@ public class ServiceTemplateReaderServiceImpl implements ServiceTemplateReaderSe
@Override
public Map<String, Object> readServiceTemplate(byte[] serviceTemplateContent) {
- Map<String, Object> readSt =
+ return
new YamlUtil().yamlToObject(new String(serviceTemplateContent), Map.class);
- return readSt;
}
@Override