From e969aa35dabe69b1116c1161abc73a4667a5e543 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 30 Mar 2017 20:45:09 +0200 Subject: [PATCH] Removed isUUID method --- src/main/java/de/epiceric/shopchest/utils/Utils.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main/java/de/epiceric/shopchest/utils/Utils.java b/src/main/java/de/epiceric/shopchest/utils/Utils.java index d2e9d9b..545f0c4 100644 --- a/src/main/java/de/epiceric/shopchest/utils/Utils.java +++ b/src/main/java/de/epiceric/shopchest/utils/Utils.java @@ -350,15 +350,6 @@ public class Utils { return Integer.parseInt(getServerVersion().split("_")[1]); } - /** - * Checks if a given String is a UUID - * @param string String to check - * @return Whether the string is a UUID - */ - public static boolean isUUID(String string) { - return string.matches("[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[34][0-9a-fA-F]{3}-[89ab][0-9a-fA-F]{3}-[0-9a-fA-F]{12}"); - } - /** * Encodes an {@link ItemStack} in a Base64 String * @param itemStack {@link ItemStack} to encode