From 3628c369f4946d28969b3f594c79076b0d9083d8 Mon Sep 17 00:00:00 2001 From: rama-huawei Date: Mon, 25 Sep 2017 16:42:09 +0530 Subject: Replaced with Diamond symbol Issue-Id:SO-118 Change-Id: Ib7c5963521bc2e077a3e4d888ffb30566fd76be5 Signed-off-by: rama-huawei --- .../openecomp/mso/adapters/vnf/VnfAdapterRest.java | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'adapters/mso-vnf-adapter/src/main') diff --git a/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/VnfAdapterRest.java b/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/VnfAdapterRest.java index 21ad1ce490..c438e7b821 100644 --- a/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/VnfAdapterRest.java +++ b/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/VnfAdapterRest.java @@ -174,7 +174,7 @@ public class VnfAdapterRest { public void run() { try { String cloudsite = req.getCloudSiteId(); - Holder> outputs = new Holder > (); + Holder> outputs = new Holder <> (); if (cloudsite != null && !cloudsite.equals(TESTING_KEYWORD)) { //vnfAdapter.deleteVnf (req.getCloudSiteId(), req.getTenantId(), req.getVfModuleStackId(), req.getMsoRequest()); vnfAdapter.deleteVfModule (req.getCloudSiteId(), req.getTenantId(), req.getVfModuleStackId(), req.getMsoRequest(), outputs); @@ -226,10 +226,10 @@ public class VnfAdapterRest { try { int respStatus = HttpStatus.SC_OK; QueryVfModuleResponse qryResp = new QueryVfModuleResponse(aaiVnfId, aaiVfModuleId, null, null, null); - Holder vnfExists = new Holder(); - Holder vfModuleId = new Holder(); - Holder status = new Holder(); - Holder> outputs = new Holder > (); + Holder vnfExists = new Holder<>(); + Holder vfModuleId = new Holder<>(); + Holder status = new Holder<>(); + Holder> outputs = new Holder <> (); vnfAdapter.queryVnf (cloudSiteId, tenantId, vfModuleName, msoRequest, vnfExists, vfModuleId, status, outputs); if (!vnfExists.value) { LOGGER.debug ("vfModule not found"); @@ -354,9 +354,9 @@ public class VnfAdapterRest { LOGGER.debug ("CreateVfModuleTask start"); try { // Synchronous Web Service Outputs - Holder vfModuleStackId = new Holder (); - Holder > outputs = new Holder > (); - Holder vnfRollback = new Holder (); + Holder vfModuleStackId = new Holder <> (); + Holder > outputs = new Holder <> (); + Holder vnfRollback = new Holder <> (); String completeVnfVfModuleType = req.getVnfType() + "::" + req.getVfModuleType(); LOGGER.debug("completeVnfVfModuleType=" + completeVnfVfModuleType); String cloudsite = req.getCloudSiteId(); @@ -483,9 +483,9 @@ public class VnfAdapterRest { //MsoVnfAdapter vnfAdapter = new MsoVnfAdapterImpl (msoPropertiesFactory, cloudConfigFactory); // Synchronous Web Service Outputs - Holder vfModuleStackId = new Holder (); - Holder > outputs = new Holder > (); - Holder vnfRollback = new Holder (); + Holder vfModuleStackId = new Holder <> (); + Holder > outputs = new Holder <> (); + Holder vnfRollback = new Holder <> (); String completeVnfVfModuleType = req.getVnfType() + "::" + req.getVfModuleType(); LOGGER.debug("in updateVf - completeVnfVfModuleType=" + completeVnfVfModuleType); -- cgit 1.2.3-korg