diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-09-11 11:30:38 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2017-09-11 11:31:35 -0400 |
commit | 6f8b23793f90a3bc944f63be6f11a8f17f78220d (patch) | |
tree | f4c0b3747429e9db2bc96eb9a166c145d6ec9da4 /controlloop/common | |
parent | 5bd2efaa81a66025c45426b739b3822c477ce778 (diff) |
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 <pdragosh@research.att.com>
Diffstat (limited to 'controlloop/common')
-rw-r--r-- | controlloop/common/actors/actor.mso/src/main/java/org/onap/policy/controlloop/actor/mso/MSOActorServiceProvider.java | 8 |
1 files 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<String, Map<String, String>> aainqf199instancefiltermap = new HashMap<>(); + Map<String, String> 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; } /** |