Update CustomConstraint.java

This commit is contained in:
Pallavi Priyadarshani 2019-08-02 16:40:38 +05:30 committed by GitHub
parent 90dc6c6d7a
commit d9abb296b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import javax.validation.Payload;
@Retention(RetentionPolicy.RUNTIME)
public @interface CustomConstraint {
String message() default "Invalid movie name.";
String message() default "Movie name should start with an alphanumeric character.";
Class<?>[] groups() default {};