diff options
author | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2017-09-22 16:59:06 +0200 |
---|---|---|
committer | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2017-09-22 16:59:06 +0200 |
commit | ba999c6a87e5ea1333a1516853fd1969c587ce15 (patch) | |
tree | 6ba8fdd07749d1043e1b7a0855c58061ab5398ce /src/main/java/org | |
parent | 8c5ffd0eb1269ceeb9b19a2c274577fae6240840 (diff) |
Remove HashMap definition
Change HashMap to Map for variable declaration
Change-Id: Ia352ab40c087e26ed43a2e69ad5ef60b6bb68a87
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/onap/clamp/clds/client/req/OperationalPolicyReq.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/clamp/clds/client/req/OperationalPolicyReq.java b/src/main/java/org/onap/clamp/clds/client/req/OperationalPolicyReq.java index a64bd717..4db09c3b 100644 --- a/src/main/java/org/onap/clamp/clds/client/req/OperationalPolicyReq.java +++ b/src/main/java/org/onap/clamp/clds/client/req/OperationalPolicyReq.java @@ -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()); |