Skip to content

Commit

Permalink
fix: fix pmd check
Browse files Browse the repository at this point in the history
  • Loading branch information
xjlgod committed Nov 27, 2024
1 parent ce28681 commit cf30cb8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ public class TokenBucketLimiter implements RateLimiter, Initialize {
*/
private Bucket bucket;

private final int DEFAULT_BUCKET_TOKEN_NUM_PER_SECOND = Integer.MAX_VALUE;
private final int DEFAULT_BUCKET_TOKEN_MAX_NUM = Integer.MAX_VALUE;
private final int DEFAULT_BUCKET_TOKEN_INITIAL_NUM = Integer.MAX_VALUE;
private static final int DEFAULT_BUCKET_TOKEN_NUM_PER_SECOND = Integer.MAX_VALUE;
private static final int DEFAULT_BUCKET_TOKEN_MAX_NUM = Integer.MAX_VALUE;
private static final int DEFAULT_BUCKET_TOKEN_INITIAL_NUM = Integer.MAX_VALUE;

public TokenBucketLimiter() {}

Expand Down

0 comments on commit cf30cb8

Please sign in to comment.