MinusculeMatcher: correct a range check to fail fast in more cases

This commit is contained in:
peter
2017-01-24 15:51:27 +01:00
parent 58b36241c2
commit fca209c7dd
@@ -249,7 +249,7 @@ public class MinusculeMatcher implements Matcher {
patternIndex += 2;
}
}
if (patternIndex < myMinNameLength) {
if (patternIndex < myMinNameLength * 2) {
return null;
}