From c635cb299ef4636cd4783d411e3b3c2a60c1920a Mon Sep 17 00:00:00 2001 From: Paulo Gomes da Cruz Junior Date: Thu, 9 Nov 2023 12:49:57 -0800 Subject: [PATCH] chore: rearranging imports --- .../main/java/ca/bc/gov/app/util/ClientValidationUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/main/java/ca/bc/gov/app/util/ClientValidationUtils.java b/backend/src/main/java/ca/bc/gov/app/util/ClientValidationUtils.java index b0a089a4e2..b5d48570fd 100644 --- a/backend/src/main/java/ca/bc/gov/app/util/ClientValidationUtils.java +++ b/backend/src/main/java/ca/bc/gov/app/util/ClientValidationUtils.java @@ -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; @@ -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: name@example.com"); + + "For example: name@example.com"); } }