From 35794eda615b4a0f24cb99aedd78a94cf55d9497 Mon Sep 17 00:00:00 2001 From: Arindam Mondal Date: Wed, 25 Jul 2018 18:08:07 +0900 Subject: sonar issue fix Issue-ID: SDC-1561 Change-Id: Iafb752fa6302ef53055d1f96e73d7eb4d7518603 Signed-off-by: Arindam Mondal --- .../java/org/openecomp/sdc/be/model/jsontitan/utils/InterfaceUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catalog-model') 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(); } } -- cgit 1.2.3-korg