update
This commit is contained in:
@@ -18,8 +18,8 @@ import java.util.UUID;
|
|||||||
*/
|
*/
|
||||||
public class IdGen {
|
public class IdGen {
|
||||||
|
|
||||||
private static SecureRandom random = new SecureRandom();
|
private static final SecureRandom random = new SecureRandom();
|
||||||
private static IdWorker idWorker = new IdWorker(-1, -1);
|
private static final IdWorker idWorker = new IdWorker(-1, -1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 生成UUID, 中间无-分割.
|
* 生成UUID, 中间无-分割.
|
||||||
|
|||||||
Reference in New Issue
Block a user