Skip to content

Commit 365bab9

Browse files
committed
[#301] Make Min/Max constraints to be applicable to the string representation of the number
1 parent 79b65e7 commit 365bab9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/java/jakarta/validation/constraints/Max.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
* <ul>
3232
* <li>{@code BigDecimal}</li>
3333
* <li>{@code BigInteger}</li>
34+
* <li>{@code CharSequence}</li>
3435
* <li>{@code byte}, {@code short}, {@code int}, {@code long}, and their respective
3536
* wrappers</li>
3637
* </ul>

src/main/java/jakarta/validation/constraints/Min.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
* <ul>
3232
* <li>{@code BigDecimal}</li>
3333
* <li>{@code BigInteger}</li>
34+
* <li>{@code CharSequence}</li>
3435
* <li>{@code byte}, {@code short}, {@code int}, {@code long}, and their respective
3536
* wrappers</li>
3637
* </ul>

0 commit comments

Comments
 (0)