change code

This commit is contained in:
looly
2021-12-12 09:45:13 +08:00
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) {