add trimmed uuid to player response
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 14s
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 14s
This commit is contained in:
@ -22,4 +22,15 @@ public class UUIDUtils {
|
||||
}
|
||||
return UUID.fromString(builder.toString());
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove dashes from a UUID.
|
||||
*
|
||||
* @param dashed the UUID with dashes
|
||||
* @return the UUID without dashes
|
||||
*/
|
||||
@NonNull
|
||||
public static String removeDashes(@NonNull UUID dashed) {
|
||||
return dashed.toString().replace("-", "");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user