diff options
author | Michael Mokry <mm117s@att.com> | 2017-12-01 11:39:27 -0600 |
---|---|---|
committer | Michael Mokry <mm117s@att.com> | 2017-12-05 15:32:45 -0600 |
commit | b6bae924c4a794cd772ac1524089fc8739e310b1 (patch) | |
tree | e1246ed37fbf0b29831687f7980468face97c4e0 /ONAP-XACML/src/main/java | |
parent | 0eb828b9e122865eb6e9649f766d2caf25eba771 (diff) |
Modified the code to fix various pushPolicy issues
- Added modifications per Pam's review
Change-Id: I5d67ee529cbc5245e7d1f8dbec6f2f2d453ce299
Issue-ID: POLICY-486
Signed-off-by: Michael Mokry <mm117s@att.com>
Diffstat (limited to 'ONAP-XACML/src/main/java')
-rw-r--r-- | ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdPDPGroup.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdPDPGroup.java b/ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdPDPGroup.java index 28f6a4d03..9cdb4521d 100644 --- a/ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdPDPGroup.java +++ b/ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdPDPGroup.java @@ -668,7 +668,7 @@ public class StdPDPGroup extends StdPDPItemSetChangeNotifier implements OnapPDPG } public boolean removePolicy(PDPPolicy policy) { - StdPDPPolicy currentPolicy = (StdPDPPolicy) this.getPolicy(policy.getId()); + PDPPolicy currentPolicy = this.getPolicy(policy.getId()); if (currentPolicy == null) { PolicyLogger.error(MessageCodes.ERROR_DATA_ISSUE + "Policy " + policy.getId() + " does not exist."); return false; |