Skip to content

Commit

Permalink
修复
Browse files Browse the repository at this point in the history
  • Loading branch information
jovezhao committed Mar 2, 2021
1 parent 0426096 commit 658739e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
allprojects {
group = 'com.zhaofujun.nest'
version = '2.2.1'
version = '2.2.2'

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ public static LongIdentifier valueOf(Long value) {
return new LongIdentifier(value);
}

static LongIdentifierGenerator generator = new SnowflakeLongIdentifierGenerator();
@Deprecated
public static LongIdentifier newValue() {
LongIdentifierGenerator generator = new SnowflakeLongIdentifierGenerator();
Long nextValue = generator.nextValue("default");
return valueOf(nextValue);
}
Expand Down

0 comments on commit 658739e

Please sign in to comment.