Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Evolveum/midpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Jun 26, 2017
2 parents 4b3e7d0 + b59a0a1 commit 0746a10
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -218,7 +218,7 @@ public static boolean canBePacked(List<EvaluatedPolicyRuleTriggerType> triggers)
if (trigger instanceof EvaluatedSituationTriggerType) {
EvaluatedSituationTriggerType situationTrigger = (EvaluatedSituationTriggerType) trigger;
for (EvaluatedPolicyRuleType sourceRule : situationTrigger.getSourceRule()) {
if (sourceRule.getTrigger().stream().anyMatch(t -> t.getRef() != null)) {
if (sourceRule.getTrigger().stream().anyMatch(t -> t.getRef() == null)) {
return true;
}
}
Expand Down

0 comments on commit 0746a10

Please sign in to comment.