Incorrect 'min' and 'max' values in Bean Validation annotations
Reports incorrect values of max
and min
values in Bean Validation constraint annotations.
Example:
public class Car {
@NotNull
@Size(min = 14, max = 2) // 'max' value is less than 'min' value
private String licensePlate;
}
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Jakarta EE: Bean Validation, 233.SNAPSHOT |
Last modified: 13 July 2023