mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-25 05:25:12 +08:00
update
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.jsowell.common.util.id;
|
||||
|
||||
import com.jsowell.common.constant.Constants;
|
||||
import com.jsowell.common.exception.UtilException;
|
||||
|
||||
import java.security.MessageDigest;
|
||||
@@ -133,7 +134,7 @@ public final class UUID implements java.io.Serializable, Comparable<UUID> {
|
||||
throw new IllegalArgumentException("Invalid UUID string: " + name);
|
||||
}
|
||||
for (int i = 0; i < 5; i++) {
|
||||
components[i] = "0x" + components[i];
|
||||
components[i] = Constants.HEX_PREFIX + components[i];
|
||||
}
|
||||
|
||||
long mostSigBits = Long.decode(components[0]).longValue();
|
||||
|
||||
Reference in New Issue
Block a user