Skip to content

Commit

Permalink
AYS-142 | private Access Modifier Has Been Added to Variables of `N…
Browse files Browse the repository at this point in the history
…ameValidator` Class
  • Loading branch information
agitrubard committed Feb 17, 2024
1 parent 7a67853 commit 6e8f28b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class NameValidator implements ConstraintValidator<Name, String> {
* </p>
* <p>
*/
static final String NAME_REGEX = "^(?![^a-zA-ZÇçĞğİıÖöŞşÜü]).*[a-zA-ZÇçĞğİıÖöŞşÜü ,.'-]+$";
static final Integer NAME_MIN_LENGTH = 2;
static final Integer NAME_MAX_LENGTH = 255;
private static final String NAME_REGEX = "^(?![^a-zA-ZÇçĞğİıÖöŞşÜü]).*[a-zA-ZÇçĞğİıÖöŞşÜü ,.'-]+$";
private static final Integer NAME_MIN_LENGTH = 2;
private static final Integer NAME_MAX_LENGTH = 255;

/**
* Checks whether the given value is a valid name or not.
Expand Down

0 comments on commit 6e8f28b

Please sign in to comment.