Skip to content

Commit

Permalink
Issue checkstyle#7872: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ImmortalRabbit committed Apr 19, 2020
1 parent 79a0c1b commit c3f4476
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -909,7 +909,7 @@ private static int getGroupNumber(Pattern[] patterns, String name) {
bestEnd = matcher.end();
bestPos = matcher.start();
}
else if (bestEnd < matcher.end()) {
else if (matcher.end() > bestEnd) {
bestIndex = i;
bestEnd = matcher.end();
}
Expand Down

0 comments on commit c3f4476

Please sign in to comment.