Remove HashMap definition 45/14645/1
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Fri, 22 Sep 2017 14:59:06 +0000 (16:59 +0200)
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Fri, 22 Sep 2017 14:59:06 +0000 (16:59 +0200)
Change HashMap to Map for variable declaration

Change-Id: Ia352ab40c087e26ed43a2e69ad5ef60b6bb68a87
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
src/main/java/org/onap/clamp/clds/client/req/OperationalPolicyReq.java

index a64bd71..4db09c3 100644 (file)
@@ -197,7 +197,7 @@ public class OperationalPolicyReq {
         builder.addResource(vfcResources);
 
         // process each policy
-        HashMap<String, Policy> policyObjMap = new HashMap<>();
+        Map<String, Policy> policyObjMap = new HashMap<>();
         List<PolicyItem> policyItemList = orderParentFirst(policyChain.getPolicyItems());
         for (PolicyItem policyItem : policyItemList) {
             String policyName = policyItem.getRecipe() + " Policy";
@@ -272,7 +272,7 @@ public class OperationalPolicyReq {
         builder.addResource(vfcResources);
 
         // process each policy
-        HashMap<String, Policy> policyObjMap = new HashMap<>();
+        Map<String, Policy> policyObjMap = new HashMap<>();
         List<PolicyItem> policyItemList = addAOTSActorRecipe(refProp, global.getService(),
                 policyChain.getPolicyItems());