From 45641aa23606b8ed11139b5dcc5a7a4f1cf9d156 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Tue, 11 Sep 2018 15:25:21 +0530 Subject: VfRollBack.java, CreateVnfNotification:Sonar issue Fixed sonar issues in vfRollBack.java and CreateVnfNotification.java Issue-ID: SO-1015 Change-Id: I8d2cc0b589fe4b4b6426c0907e5a4650303b6f9b Signed-off-by: Arundathi Patil --- .../src/main/java/org/onap/so/adapters/vnf/VfRollback.java | 5 ----- .../org/onap/so/adapters/vnf/async/client/CreateVnfNotification.java | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'adapters/mso-openstack-adapters/src') diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/VfRollback.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/VfRollback.java index 5dca8696ef..3736669094 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/VfRollback.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/VfRollback.java @@ -95,11 +95,6 @@ public class VfRollback { public void setRequestType(String requestType) { this.requestType = requestType; } - /* - private String volumeGroupHeatStackId; - private String baseGroupHeatStackId; - private boolean isBase = false; - */ public String getVolumeGroupHeatStackId() { return this.volumeGroupHeatStackId; } diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/async/client/CreateVnfNotification.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/async/client/CreateVnfNotification.java index 39bd3ebf61..ba301b10fe 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/async/client/CreateVnfNotification.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/async/client/CreateVnfNotification.java @@ -319,7 +319,7 @@ public class CreateVnfNotification { */ public List getEntry() { if (entry == null) { - entry = new ArrayList(); + entry = new ArrayList<>(); } return this.entry; } -- cgit 1.2.3-korg