Skip to content

Commit

Permalink
fix for NPE in isSatisfyCondition (MID-6040)
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Mar 16, 2020
1 parent 3cbbc91 commit b1aac0a
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -620,6 +620,9 @@ private void addToMinusIfNecessary(V originalValue) {

@SuppressWarnings("unused") // todo is this externally used?
public boolean isSatisfyCondition() {
if (conditionOutputTriple == null) {
return true;
}
boolean conditionOutputOld = computeConditionResult(conditionOutputTriple.getNonPositiveValues());
boolean conditionResultOld = conditionOutputOld && conditionMaskOld;

Expand Down

0 comments on commit b1aac0a

Please sign in to comment.