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 d9824ef commit 973ac14Copy full SHA for 973ac14
src/main/java/dev/ditsche/validator/ruleset/MaxRule.java
@@ -16,7 +16,7 @@ public class MaxRule implements Rule {
16
@Override
17
public boolean passes(Object value) {
18
if(value == null)
19
- return false;
+ return true;
20
if(value instanceof String)
21
return ((String) value).length() <= max;
22
0 commit comments