mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
change code
This commit is contained in:
parent
f7db6c75d5
commit
480b99a727
@ -106,7 +106,7 @@ public class IdUtil {
|
||||
* @param workerId 终端ID
|
||||
* @param datacenterId 数据中心ID
|
||||
* @return {@link Snowflake}
|
||||
* @deprecated 此方法容易产生起义:多个Snowflake实例产生的ID会产生重复,此对象在单台机器上必须单例!
|
||||
* @deprecated 此方法容易产生歧义:多个Snowflake实例产生的ID会产生重复,此对象在单台机器上必须单例!
|
||||
*/
|
||||
@Deprecated
|
||||
public static Snowflake createSnowflake(long workerId, long datacenterId) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user