diff --git a/src/Yitter.IdGenerator/ISnowWorker.cs b/src/Yitter.IdGenerator/ISnowWorker.cs index 361d457..d91ab10 100644 --- a/src/Yitter.IdGenerator/ISnowWorker.cs +++ b/src/Yitter.IdGenerator/ISnowWorker.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Text; -using static Yitter.IdGenerator.IIdGenerator; namespace Yitter.IdGenerator { diff --git a/src/Yitter.IdGenerator/YitIdGenerator.cs b/src/Yitter.IdGenerator/YitIdGenerator.cs index f67ba5d..6bf6d10 100644 --- a/src/Yitter.IdGenerator/YitIdGenerator.cs +++ b/src/Yitter.IdGenerator/YitIdGenerator.cs @@ -29,7 +29,7 @@ namespace Yitter.IdGenerator if (options.SeqBitLength + options.WorkerIdBitLength > 22) { - throw new ApplicationException("不满足条件:WorkerIdBitLength + SeqBitLength <= 22"); + throw new ApplicationException("error:WorkerIdBitLength + SeqBitLength <= 22"); } var maxWorkerIdNumber = Math.Pow(2, options.WorkerIdBitLength) - 1; @@ -72,7 +72,6 @@ namespace Yitter.IdGenerator { Thread.Sleep(500); } - }