diff --git a/query/plugins/org.eclipse.viatra.query.runtime.rete/src/org/eclipse/viatra/query/runtime/rete/matcher/RetePatternMatcher.java b/query/plugins/org.eclipse.viatra.query.runtime.rete/src/org/eclipse/viatra/query/runtime/rete/matcher/RetePatternMatcher.java index 8216d76735..fd73c4875d 100644 --- a/query/plugins/org.eclipse.viatra.query.runtime.rete/src/org/eclipse/viatra/query/runtime/rete/matcher/RetePatternMatcher.java +++ b/query/plugins/org.eclipse.viatra.query.runtime.rete/src/org/eclipse/viatra/query/runtime/rete/matcher/RetePatternMatcher.java @@ -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); } @@ -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 @@ -377,7 +377,7 @@ public Collection getAllMatches(Object[] parameters) { @Override public Iterable getAllMatches(TupleMask parameterSeedMask, ITuple parameters) { - return getAllMatches(parameterSeedMask, parameters); + return matchAll(parameterSeedMask, parameters); } @Override