aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArindam Mondal <arind.mondal@samsung.com>2018-07-25 18:08:07 +0900
committerYuli Shlosberg <ys9693@att.com>2018-08-16 13:03:36 +0000
commit35794eda615b4a0f24cb99aedd78a94cf55d9497 (patch)
tree69100872b9992487f336aa8e5db6a966eecda2ac
parent42f20d8262bd19354760d89045caeb278f99f1f9 (diff)
sonar issue fix
Issue-ID: SDC-1561 Change-Id: Iafb752fa6302ef53055d1f96e73d7eb4d7518603 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/jsontitan/utils/InterfaceUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/jsontitan/utils/InterfaceUtils.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/jsontitan/utils/InterfaceUtils.java
index 5fa64d6ca6..a3ec3f2c20 100644
--- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/jsontitan/utils/InterfaceUtils.java
+++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/jsontitan/utils/InterfaceUtils.java
@@ -60,7 +60,7 @@ public class InterfaceUtils {
public static String createInterfaceToscaResourceName(String resourceName) {
StringBuilder sb = new StringBuilder();
- try (Formatter formatter = new Formatter(sb)){
+ try(Formatter formatter = new Formatter(sb)){
return formatter.format(INTERFACE_TOSCA_RESOURCE_NAME, resourceName).toString();
}
}