mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 17:03:12 +07:00
fix incorrect isEmptyOrSpaces() optimization
This commit is contained in:
@@ -938,7 +938,7 @@ public class StringUtil extends StringUtilRt {
|
||||
return true;
|
||||
}
|
||||
for(int i = 0; i < s.length(); i++) {
|
||||
if(s.charAt(i) != ' ') {
|
||||
if(s.charAt(i) > ' ') {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user