Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
ZhouXY108 | 52819ac481 |
|
@ -119,7 +119,7 @@ public class StringValidator<DTO> extends BasePropertyValidator<DTO, String, Str
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
for (int i = 0; i < cs.length(); i++) {
|
for (int i = 0; i < cs.length(); i++) {
|
||||||
if (!Character.isWhitespace(cs.charAt(i))) {
|
if (Character.isWhitespace(cs.charAt(i))) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue