Commit includes ControlLoopPolicy API and bugfixes
[policy/engine.git] / ECOMP-PAP-REST / src / main / java / org / openecomp / policy / pap / xacml / rest / model / RemoveGroupPolicy.java
index 24e2f04..83d0991 100644 (file)
@@ -77,7 +77,7 @@ public class RemoveGroupPolicy {
                                null);
                
                // replace the original set of Policies with the set from the container (possibly modified by the user)
-               Set<PDPPolicy> changedPolicies = new HashSet<PDPPolicy>();
+               Set<PDPPolicy> changedPolicies = new HashSet<>();
                changedPolicies.addAll((Collection<PDPPolicy>) RemoveGroupPolicy.policyContainer.getItemIds());
                updatedGroupObject.setPolicies(changedPolicies);
                updatedGroupObject.setEcompPdps(this.group.getEcompPdps());