diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2017-09-25 17:00:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-25 17:00:43 +0000 |
commit | f82af2d09e6bd8efd12b20f98d0dcdf4e038557d (patch) | |
tree | 6b8875fca83d01ab24f5b6ea2076435beef6dce5 /adapters/mso-vnf-adapter/src/main | |
parent | 607196bb5328c60a98cf292ba5bf9d995c37799d (diff) | |
parent | 29fe4a75b506afefe525ffe5a3e4a6e57344f56c (diff) |
Merge "Replaced with Diamond symbol"
Diffstat (limited to 'adapters/mso-vnf-adapter/src/main')
-rw-r--r-- | adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/VolumeAdapterRest.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/VolumeAdapterRest.java b/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/VolumeAdapterRest.java index d2f1c86fda..87b48fc68a 100644 --- a/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/VolumeAdapterRest.java +++ b/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/VolumeAdapterRest.java @@ -136,9 +136,9 @@ public class VolumeAdapterRest { LOGGER.debug ("CreateVFModule VolumesTask start"); try { // Synchronous Web Service Outputs - Holder<String> stackId = new Holder<String>(); - Holder<Map<String, String>> outputs = new Holder<Map<String, String>>(); - Holder<VnfRollback> vnfRollback = new Holder<VnfRollback>(); + Holder<String> stackId = new Holder<>(); + Holder<Map<String, String>> outputs = new Holder<>(); + Holder<VnfRollback> vnfRollback = new Holder<>(); String completeVnfVfModuleType = req.getVnfType() + "::" + req.getVfModuleType(); LOGGER.debug("in createVfModuleVolumes - completeVnfVfModuleType=" + completeVnfVfModuleType); @@ -462,9 +462,9 @@ public class VolumeAdapterRest { LOGGER.debug("UpdateVNFVolumesTask start"); try { @SuppressWarnings("unused") - Holder<String> stackId = new Holder<String> (); - Holder<Map<String, String>> outputs = new Holder<Map <String, String>> (); - Holder<VnfRollback> vnfRollback = new Holder<VnfRollback> (); + Holder<String> stackId = new Holder<> (); + Holder<Map<String, String>> outputs = new Holder<> (); + Holder<VnfRollback> vnfRollback = new Holder<> (); String completeVnfVfModuleType = req.getVnfType() + "::" + req.getVfModuleType(); LOGGER.debug("in updateVfModuleVolume - completeVnfVfModuleType=" + completeVnfVfModuleType); @@ -535,10 +535,10 @@ public class VolumeAdapterRest { try { int respStatus = HttpStatus.SC_OK; QueryVolumeGroupResponse qryResp = new QueryVolumeGroupResponse(aaiVolumeGroupId, volumeGroupStackId, null, null); - Holder<Boolean> vnfExists = new Holder<Boolean>(); - Holder<String> vfModuleId = new Holder<String>(); - Holder<VnfStatus> status = new Holder<VnfStatus>(); - Holder<Map<String, String>> outputs = new Holder<Map<String, String>>(); + Holder<Boolean> vnfExists = new Holder<>(); + Holder<String> vfModuleId = new Holder<>(); + Holder<VnfStatus> status = new Holder<>(); + Holder<Map<String, String>> outputs = new Holder<>(); if (cloudSiteId != null && cloudSiteId.equals(TESTING_KEYWORD)) { if (tenantId != null && tenantId.equals(TESTING_KEYWORD)) { throw new VnfException("testing."); @@ -575,7 +575,7 @@ public class VolumeAdapterRest { } } public static Map<String, String> testMap() { - Map<String, String> m = new HashMap<String, String>(); + Map<String, String> m = new HashMap<>(); m.put("mickey", "7"); m.put("clyde", "10"); m.put("wayne", "99"); |