mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
MinusculeMatcher: correct a range check to fail fast in more cases
This commit is contained in:
@@ -249,7 +249,7 @@ public class MinusculeMatcher implements Matcher {
|
||||
patternIndex += 2;
|
||||
}
|
||||
}
|
||||
if (patternIndex < myMinNameLength) {
|
||||
if (patternIndex < myMinNameLength * 2) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user