Skip to content

Commit

Permalink
[528546] Fixed a few infinite loops in Rete engine
Browse files Browse the repository at this point in the history
Change-Id: Icc5a9b35d7dd4ff4e01a7d24bf26133acf98b7a0
Signed-off-by: Zoltan Ujhelyi <[email protected]>
  • Loading branch information
ujhelyiz committed Dec 13, 2017
1 parent 41b98d2 commit 2501965
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ public int countMatches(Object[] parameters) {

@Override
public int countMatches(TupleMask parameterSeedMask, ITuple parameters) {
return countMatches(parameterSeedMask, parameters);
return count(parameterSeedMask, parameters);
}


Expand All @@ -367,7 +367,7 @@ public Tuple getOneArbitraryMatch(Object[] parameters) {

@Override
public Tuple getOneArbitraryMatch(TupleMask parameterSeedMask, ITuple parameters) {
return getOneArbitraryMatch(parameterSeedMask, parameters);
return matchOne(parameterSeedMask, parameters);
}

@Override
Expand All @@ -377,7 +377,7 @@ public Collection<? extends Tuple> getAllMatches(Object[] parameters) {

@Override
public Iterable<? extends Tuple> getAllMatches(TupleMask parameterSeedMask, ITuple parameters) {
return getAllMatches(parameterSeedMask, parameters);
return matchAll(parameterSeedMask, parameters);
}

@Override
Expand Down

0 comments on commit 2501965

Please sign in to comment.