summaryrefslogtreecommitdiffstats
path: root/adapters/mso-vfc-adapter/src/main
diff options
context:
space:
mode:
authorrama-huawei <rama.subba.reddy.s@huawei.com>2017-09-25 16:03:46 +0530
committerrama-huawei <rama.subba.reddy.s@huawei.com>2017-09-25 16:04:37 +0530
commitbad9cbaa553f9029360f34a5617e8cbd940a60a6 (patch)
tree7631e4f1d8cc6af9b4428583e1cf5a180ec0da9f /adapters/mso-vfc-adapter/src/main
parent6ae289e48a8d286e357544d4a8dd4b377a8e6993 (diff)
Replaced with Diamond symbol
Change-Id: I439daab53236cd35e43e3a503ddc4b3218f7d992 Issue-Id:SO-118 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
Diffstat (limited to 'adapters/mso-vfc-adapter/src/main')
-rw-r--r--adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcManager.java4
1 files changed, 2 insertions, 2 deletions
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<String, String> nfvoUrlMap;
static {
- nfvoUrlMap = new HashMap<String, String>();
+ 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);