main 0.5.0-SNAPSHOT
ZhouXY108 2024-08-07 18:08:26 +08:00
parent 00b9f16176
commit 315ff1950f
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;
}
}