From bad9cbaa553f9029360f34a5617e8cbd940a60a6 Mon Sep 17 00:00:00 2001 From: rama-huawei Date: Mon, 25 Sep 2017 16:03:46 +0530 Subject: Replaced with Diamond symbol Change-Id: I439daab53236cd35e43e3a503ddc4b3218f7d992 Issue-Id:SO-118 Signed-off-by: rama-huawei --- .../src/main/java/org/openecomp/mso/adapters/vfc/VfcManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'adapters/mso-vfc-adapter/src/main/java/org') diff --git a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcManager.java b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcManager.java index c2d5fe241c..8c503aa43e 100644 --- a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcManager.java +++ b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcManager.java @@ -64,7 +64,7 @@ public class VfcManager { private static Map nfvoUrlMap; static { - nfvoUrlMap = new HashMap(); + nfvoUrlMap = new HashMap<>(); nfvoUrlMap.put(Step.CREATE, CommonConstant.NFVO_CREATE_URL); nfvoUrlMap.put(Step.INSTANTIATE, CommonConstant.NFVO_INSTANTIATE_URL); nfvoUrlMap.put(Step.TERMINATE, CommonConstant.NFVO_TERMINATE_URL); @@ -399,7 +399,7 @@ public class VfcManager { */ private String getUrl(String variable, String step) { - String url = CommonConstant.STR_EMPTY; + String url; String originalUrl; originalUrl = (String)nfvoUrlMap.get(step); url = String.format(originalUrl, variable); -- cgit 1.2.3-korg