aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Aharoni <pa0916@att.com>2017-04-25 10:57:24 +0300
committerPavel Aharoni <pa0916@att.com>2017-04-25 10:57:24 +0300
commit305a8611558f0e91d05ad3f5d954137cc8606d63 (patch)
tree8f2fd6dda6a3911d9f5cf368303233a9ad0ec934
parentecd529b4057f8619c9ef0d1c46d1bec5571f5b29 (diff)
[SDC-13] sdc-tosca-parser pom fix
Change-Id: Ib53e2463fbfdc428bece0c795c2e582c39a31bf7 Signed-off-by: Pavel Aharoni <pa0916@att.com>
-rw-r--r--sdc-tosca-parser/pom.xml7
-rw-r--r--sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/impl/SdcCsarHelperImpl.java3
2 files changed, 2 insertions, 8 deletions
diff --git a/sdc-tosca-parser/pom.xml b/sdc-tosca-parser/pom.xml
index 74bd7db..56cc293 100644
--- a/sdc-tosca-parser/pom.xml
+++ b/sdc-tosca-parser/pom.xml
@@ -67,13 +67,6 @@
<scope>compile</scope>
</dependency>
- <!-- Jython Tosca Parser -->
- <dependency>
- <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
- <artifactId>jtosca</artifactId>
- <version>0.4.1-SNAPSHOT</version>
- </dependency>
-
<!-- jtosca Tosca Parser -->
<dependency>
<groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
diff --git a/sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/impl/SdcCsarHelperImpl.java b/sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/impl/SdcCsarHelperImpl.java
index f24dce7..5ce66a5 100644
--- a/sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/impl/SdcCsarHelperImpl.java
+++ b/sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/impl/SdcCsarHelperImpl.java
@@ -21,6 +21,7 @@
package org.openecomp.sdc.tosca.parser.impl;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
@@ -460,7 +461,7 @@ public class SdcCsarHelperImpl implements ISdcCsarHelper {
}
private String processProperties(String[] split, LinkedHashMap<String, Property> properties) {
- log.debug("processProperties - the leafValuePath is {} , the properties are {}", split.toString(), properties.toString());
+ log.debug("processProperties - the leafValuePath is {} , the properties are {}", Arrays.toString(split), properties.toString());
Optional<Entry<String, Property>> findFirst = properties.entrySet().stream().filter(x -> x.getKey().equals(split[0])).findFirst();
if (findFirst.isPresent()){
log.debug("processProperties - find first item is {}", findFirst.get());