From a873e951586685839e799395f8f1e2dff9c40935 Mon Sep 17 00:00:00 2001 From: zhouzj Date: Fri, 12 Mar 2021 14:04:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0YidHelper=E5=BF=AB=E9=80=9F?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Yitter.IdGenerator/YidHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Yitter.IdGenerator/YidHelper.cs b/src/Yitter.IdGenerator/YidHelper.cs index 630ebd0..83960de 100644 --- a/src/Yitter.IdGenerator/YidHelper.cs +++ b/src/Yitter.IdGenerator/YidHelper.cs @@ -43,7 +43,7 @@ namespace Yitter.IdGenerator /// 否则将会初始化一个WorkerId为1的对象。 /// /// - public static long NewId() + public static long NextId() { if (_IdGenInstance == null) {