Fixing null pointer issue

merge-requests/7/head
geethkokila 10 years ago
parent 37b4e27c42
commit a1f851243c

@ -39,7 +39,7 @@ public class PolicyFilterImpl implements PolicyFilter {
for (Policy policy : policies) {
List<String> tempRoles = policy.getRoles();
if (tempRoles != null) {
if (tempRoles == null) {
continue;
}
if (PolicyManagementConstants.ANY.equalsIgnoreCase(tempRoles.get(0))) {

Loading…
Cancel
Save