Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
Iulian Masar committed Feb 26, 2025
1 parent 8990e7f commit df110b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/mangopay/core/RestTool.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class RestTool {
private final static int MINUTES_15 = 15;
private final static int MINUTES_30 = 30;
private final static int MINUTES_60 = 60;
private final static int ONE_DAY_IN_MINUTES = 60 * 24;
private final static int ONE_DAY_IN_MINUTES = MINUTES_60 * 24;

// root/parent instance that holds the OAuthToken and Configuration instance
private MangoPayApi root;
Expand Down Expand Up @@ -527,7 +527,7 @@ private void setRateLimits(
) {
if (rateLimitResetValues.size() == rateLimitRemainingValues.size() && rateLimitResetValues.size() == rateLimitValues.size()) {
if (this.debugMode) {
logger.info("Assigning rate limits to root");
logger.info("Setting rate limits");
}
List<RateLimit> rateLimits = new ArrayList<>();

Expand Down

0 comments on commit df110b6

Please sign in to comment.