commit | 35794eda615b4a0f24cb99aedd78a94cf55d9497 | [log] [tgz] |
---|---|---|
author | Arindam Mondal <arind.mondal@samsung.com> | Wed Jul 25 18:08:07 2018 +0900 |
committer | Yuli Shlosberg <ys9693@att.com> | Thu Aug 16 13:03:36 2018 +0000 |
tree | 69100872b9992487f336aa8e5db6a966eecda2ac | |
parent | 42f20d8262bd19354760d89045caeb278f99f1f9 [diff] |
sonar issue fix Issue-ID: SDC-1561 Change-Id: Iafb752fa6302ef53055d1f96e73d7eb4d7518603 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
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 5fa64d6..a3ec3f2 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 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(); } }