aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/util/uuid.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/util/uuid.kt')
-rw-r--r--src/main/kotlin/moe/nea/firmament/util/uuid.kt12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/util/uuid.kt b/src/main/kotlin/moe/nea/firmament/util/uuid.kt
deleted file mode 100644
index 4aa0749..0000000
--- a/src/main/kotlin/moe/nea/firmament/util/uuid.kt
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-package moe.nea.firmament.util
-
-import java.math.BigInteger
-import java.util.UUID
-
-fun parseDashlessUUID(dashlessUuid: String): UUID {
- val most = BigInteger(dashlessUuid.substring(0, 16), 16)
- val least = BigInteger(dashlessUuid.substring(16, 32), 16)
- return UUID(most.toLong(), least.toLong())
-}