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.
@NotBlank
#max()
1 parent 9fa26a0 commit 484e07fCopy full SHA for 484e07f
validator-constraints/src/main/java/io/avaje/validation/constraints/NotBlank.java
@@ -24,7 +24,10 @@
24
@Retention(RUNTIME)
25
public @interface NotBlank {
26
27
- /** Set the maximum length. By default this is 0 meaning unlimited. */
+ /**
28
+ * Set the maximum length. By default, this is 0 (meaning unlimited).
29
+ * This mimics the functionality of {@link Size} & {@link Length}, for a verbosity reduction.
30
+ */
31
int max() default 0;
32
33
String message() default "{avaje.NotBlank.message}";
0 commit comments