You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/10/05 21:43:32 UTC
[GitHub] [cloudstack] GutoVeronezi commented on a diff in pull request #6793: Rename validateUUID method to isUuid
GutoVeronezi commented on code in PR #6793:
URL: https://github.com/apache/cloudstack/pull/6793#discussion_r987094263
##########
utils/src/main/java/com/cloud/utils/UuidUtils.java:
##########
@@ -30,7 +30,7 @@ public static String first(String uuid) {
return uuid.substring(0, uuid.indexOf('-'));
}
- public static boolean validateUUID(String uuid) {
+ public static boolean isUuid(String uuid) {
Review Comment:
We could add a JavaDoc here, linking the regex.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org