Skip to content

Commit

Permalink
'area' event matcher: allow imperfect labels through
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Mar 19, 2022
1 parent 8d8a80e commit a7d4142
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -172,9 +172,13 @@ public static boolean couldMatchArea(String text) {
return true;
}
}
addPossibleCouldMatchFailReason("Imperfect area label (allowed due to advanced-matcher usage)", text);
return true;
}
else {
addPossibleCouldMatchFailReason("Not a valid area label", text);
return false;
}
addPossibleCouldMatchFailReason("Not a valid area label", text);
return false;
}

public static boolean exactMatchesEnum(String text, final Enum<?>[] enumVals) {
Expand Down

0 comments on commit a7d4142

Please sign in to comment.