replace type specification for vnf async client 02/85802/1
authorSindhuri.A <arcot.sindhuri@huawei.com>
Fri, 19 Apr 2019 10:53:46 +0000 (16:23 +0530)
committerSindhuri.A <arcot.sindhuri@huawei.com>
Fri, 19 Apr 2019 10:53:46 +0000 (16:23 +0530)
replace type specification for vnf async client classes

Issue-ID: SO-1490

Change-Id: I96d96aa863a8cdfc5d92adc4675600fdc9dd5568
Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/async/client/QueryVnfNotification.java
adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/async/client/UpdateVnfNotification.java

index 8968851..8681070 100644 (file)
@@ -310,7 +310,7 @@ public class QueryVnfNotification {
          */
         public List<QueryVnfNotification.Outputs.Entry> getEntry() {
             if (entry == null) {
-                entry = new ArrayList<QueryVnfNotification.Outputs.Entry>();
+                entry = new ArrayList<>();
             }
             return this.entry;
         }
index b738d6d..968b376 100644 (file)
@@ -266,7 +266,7 @@ public class UpdateVnfNotification {
          */
         public List<UpdateVnfNotification.Outputs.Entry> getEntry() {
             if (entry == null) {
-                entry = new ArrayList<UpdateVnfNotification.Outputs.Entry>();
+                entry = new ArrayList<>();
             }
             return this.entry;
         }