1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-12 17:26:13 +00:00
This commit is contained in:
bgamard
2022-05-05 18:15:24 +02:00
parent 90d5bc8de7
commit 1ccce3f942
2 changed files with 2 additions and 2 deletions

View File

@@ -154,7 +154,7 @@ public class ValidationUtil {
}
}
public static void validateUsernamepattern(String s, String name) throws ClientException {
public static void validateUsername(String s, String name) throws ClientException {
if (!USERNAME_PATTERN.matcher(s).matches()) {
throw new ClientException("ValidationError", MessageFormat.format("{0} must have only alphanumeric, underscore characters or @ and .", name));
}