Fix Counter#decrement recursive call (#5665)
This commit is contained in:
@@ -2041,7 +2041,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ return increment(key, 1);
|
||||
+ }
|
||||
+ public long decrement(@Nullable T key, long amount) {
|
||||
+ return decrement(key, -amount);
|
||||
+ return increment(key, -amount);
|
||||
+ }
|
||||
+ public long increment(@Nullable T key, long amount) {
|
||||
+ Long count = this.getCount(key);
|
||||
|
||||
Reference in New Issue
Block a user