From 6f8b23793f90a3bc944f63be6f11a8f17f78220d Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Mon, 11 Sep 2017 11:30:38 -0400 Subject: Fix Eclipse warnings for raw type parameterization Eclipse generates warnings for raw types and 2 fields are not accessed statically. Issue-ID: POLICY-102 Change-Id: Ibeb2a76d527949cfd7283ab1a78d97e582725337 Signed-off-by: Pamela Dragosh --- .../policy/controlloop/actor/mso/MSOActorServiceProvider.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/controlloop/common/actors/actor.mso/src/main/java/org/onap/policy/controlloop/actor/mso/MSOActorServiceProvider.java b/controlloop/common/actors/actor.mso/src/main/java/org/onap/policy/controlloop/actor/mso/MSOActorServiceProvider.java index 653022bac..64e0c616b 100644 --- a/controlloop/common/actors/actor.mso/src/main/java/org/onap/policy/controlloop/actor/mso/MSOActorServiceProvider.java +++ b/controlloop/common/actors/actor.mso/src/main/java/org/onap/policy/controlloop/actor/mso/MSOActorServiceProvider.java @@ -157,8 +157,8 @@ public class MSOActorServiceProvider implements Actor { // // instanceFilters // - Map aainqf199instancefiltermap = new HashMap(); - Map aainqf199instancefiltermapitem = new HashMap(); + Map> aainqf199instancefiltermap = new HashMap<>(); + Map aainqf199instancefiltermapitem = new HashMap<>(); aainqf199instancefiltermapitem.put("vserver-name", onset.AAI.get("vserver.vserver-name")); // TO DO: get vserver.vname from dcae onset.AAI.get("vserver.vserver-name") aainqf199instancefiltermap.put("vserver", aainqf199instancefiltermapitem); aainqf199instancefilter.instanceFilter.add(aainqf199instancefiltermap); @@ -438,7 +438,7 @@ public class MSOActorServiceProvider implements Actor { * @param vnfItemVnfId the vnfItemVnfId to set */ private void setVnfItemVnfId(String vnfItemVnfId) { - this.vnfItemVnfId = vnfItemVnfId; + MSOActorServiceProvider.vnfItemVnfId = vnfItemVnfId; } /** @@ -537,7 +537,7 @@ public class MSOActorServiceProvider implements Actor { */ private void setServiceItemServiceInstanceId( String serviceItemServiceInstanceId) { - this.serviceItemServiceInstanceId = serviceItemServiceInstanceId; + MSOActorServiceProvider.serviceItemServiceInstanceId = serviceItemServiceInstanceId; } /** -- cgit 1.2.3-korg