We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b75e6b1 commit 1335ff1Copy full SHA for 1335ff1
hsweb-web-bean/src/main/java/org/hsweb/web/bean/validator/constraintvalidators/MessyCodeValidator.java
@@ -30,7 +30,7 @@ public void initialize(NotMessyCode notMessyCode) {
30
31
@Override
32
public boolean isValid(String s, ConstraintValidatorContext constraintValidatorContext) {
33
- if (null == s) return false;
+ if (null == s) return true;
34
return !StringUtils.isMessyCode(s);
35
}
36
0 commit comments