diff options
author | Michael Mokry <mm117s@att.com> | 2017-12-01 11:39:27 -0600 |
---|---|---|
committer | Michael Mokry <mm117s@att.com> | 2017-12-06 14:14:40 +0000 |
commit | 3f1933cfe1f5cdb6d3fefdff9248c9d4430849c2 (patch) | |
tree | 006c952c7cf996ce99b6644ee9803f4fb013dd14 /ONAP-XACML/src | |
parent | e1f1fc2f1c5cc5d0265e284e565c44676c6a32fc (diff) |
Modified the code to fix various pushPolicy issuesv1.1.2
- Added modifications per Pam's review
Change-Id: I5d67ee529cbc5245e7d1f8dbec6f2f2d453ce299
Issue-ID: POLICY-486
Signed-off-by: Michael Mokry <mm117s@att.com>
(cherry picked from commit b6bae924c4a794cd772ac1524089fc8739e310b1)
Diffstat (limited to 'ONAP-XACML/src')
-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; |