Skip to content
Snippets Groups Projects
Commit be6c14fe authored by Jonas Blatt's avatar Jonas Blatt :ant:
Browse files

#9 Fix subsumption check for strings

If the to be subsumed rule is "not" and the subsuming rule is not not,
then there is never a subsumption.
parent 25328944
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ public class CheckStringSubsumes extends AbstractBoundaryCheck<StringBoundary> {
if (b1.matchesAny() && !b2.matchesAny()) {
return true;
}
if (b2.matchesAny()) {
if (b2.matchesAny() || !b1.matchesNoneOfValues() && b2.matchesNoneOfValues()) {
return false;
}
int[] b1h = b1.getValuesHashes();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment