Skip to content

Commit

Permalink
chore: rearranging imports
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Nov 9, 2023
1 parent 302653f commit c635cb2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

import ca.bc.gov.app.dto.client.ClientTypeEnum;
import ca.bc.gov.app.dto.client.LegalTypeEnum;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.EnumUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.validation.Errors;
Expand All @@ -25,7 +25,7 @@ public static void validateEmail(String email, String field, Errors errors) {
Matcher emailMatcher = EMAIL_PATTERN.matcher(email);
if (!emailMatcher.matches()) {
errors.rejectValue(field, "You must enter an email address in a valid format. "
+ "For example: [email protected]");
+ "For example: [email protected]");
}
}

Expand Down

0 comments on commit c635cb2

Please sign in to comment.