Skip to content

Commit

Permalink
[update][common] Remove the condition of always false
Browse files Browse the repository at this point in the history
  • Loading branch information
wgzhao committed Oct 30, 2024
1 parent 22687d4 commit 0251c44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ private static boolean isPureAscii(String aString)

for (int i = 0, len = aString.length(); i < len; i++) {
char ch = aString.charAt(i);
if (ch >= 127 || ch < 0) {
if (ch >= 127) {
return false;
}
}
Expand Down

0 comments on commit 0251c44

Please sign in to comment.