DaanHoogland commented on code in PR #6589:
URL: https://github.com/apache/cloudstack/pull/6589#discussion_r936778382


##########
utils/src/main/java/com/cloud/utils/UuidUtils.java:
##########
@@ -28,6 +28,10 @@ public final static String first(String uuid) {
         return uuid.substring(0, uuid.indexOf('-'));
     }
 
+    public static boolean isUuid(String data) {

Review Comment:
   depends on what does `regex.matches()` do on no match; if it return false 
yes than renaming it makes sense. If it throws an exeption than validate... is 
the right name for it.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to