Compare commits

...

1 Commits
main ... 0.4.x

Author SHA1 Message Date
ZhouXY108 52819ac481 fix bug. 2024-08-07 18:20:50 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public class StringValidator<DTO> extends BasePropertyValidator<DTO, String, Str
return false;
}
for (int i = 0; i < cs.length(); i++) {
if (!Character.isWhitespace(cs.charAt(i))) {
if (Character.isWhitespace(cs.charAt(i))) {
return false;
}
}