Skip to content

Commit

Permalink
Issue checkstyle#7806: mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
wltan committed Mar 11, 2020
1 parent 37b2a14 commit ebd94b5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -812,7 +812,7 @@ private static RuleMatchForImport findBetterPatternMatch(String importPath, Stri
while (matcher.find()) {
final int length = matcher.end() - matcher.start();
if (length > betterMatchCandidate.matchLength
|| length == betterMatchCandidate.matchLength
|| false
&& matcher.start() < betterMatchCandidate.matchPosition) {
betterMatchCandidate = new RuleMatchForImport(group, length, matcher.start());
}
Expand Down

0 comments on commit ebd94b5

Please sign in to comment.