diff options
author | rama-huawei <rama.subba.reddy.s@huawei.com> | 2017-09-25 11:32:31 +0530 |
---|---|---|
committer | rama-huawei <rama.subba.reddy.s@huawei.com> | 2017-09-25 11:33:14 +0530 |
commit | 6ae289e48a8d286e357544d4a8dd4b377a8e6993 (patch) | |
tree | 52207d2f406a11ad97bd3c8d72f1b0bbb9df02a6 | |
parent | 5f130a9d5813022b9eef0b00e0c0dde6f7c01a03 (diff) |
Replaced with Diamond symbol
Change-Id: Ibc14257b814b83427ce0078f83aaf4d6b0cc38c0
Issue-Id:SO-118
Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
-rw-r--r-- | adapters/mso-tenant-adapter/src/main/java/org/openecomp/mso/adapters/tenant/TenantAdapterRest.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/adapters/mso-tenant-adapter/src/main/java/org/openecomp/mso/adapters/tenant/TenantAdapterRest.java b/adapters/mso-tenant-adapter/src/main/java/org/openecomp/mso/adapters/tenant/TenantAdapterRest.java index 581b0e1da9..63f65ccd25 100644 --- a/adapters/mso-tenant-adapter/src/main/java/org/openecomp/mso/adapters/tenant/TenantAdapterRest.java +++ b/adapters/mso-tenant-adapter/src/main/java/org/openecomp/mso/adapters/tenant/TenantAdapterRest.java @@ -114,8 +114,8 @@ public class TenantAdapterRest { TenantRollback tenantRollback = new TenantRollback (); try { - Holder<String> htenant = new Holder<String>(); - Holder<TenantRollback> hrollback = new Holder<TenantRollback>(); + Holder<String> htenant = new Holder<>(); + Holder<TenantRollback> hrollback = new Holder<>(); MsoTenantAdapter impl = new MsoTenantAdapterImpl(); impl.createTenant( req.getCloudSiteId(), @@ -183,7 +183,7 @@ public class TenantAdapterRest { boolean tenantDeleted = false; try { - Holder<Boolean> deleted = new Holder<Boolean>(); + Holder<Boolean> deleted = new Holder<>(); MsoTenantAdapter impl = new MsoTenantAdapterImpl(); impl.deleteTenant( req.getCloudSiteId(), @@ -231,9 +231,9 @@ public class TenantAdapterRest { { MsoTenant tenant = null; try { - Holder<String> htenant = new Holder<String>(); - Holder<String> tenantName = new Holder<String>(); - Holder<Map<String,String>> metadata = new Holder<Map<String,String>>(); + Holder<String> htenant = new Holder<>(); + Holder<String> tenantName = new Holder<>(); + Holder<Map<String,String>> metadata = new Holder<>(); MsoTenantAdapter impl = new MsoTenantAdapterImpl(); impl.queryTenant( cloudSiteId, |