Commit df110b6 Iulian Masar
committed
1 parent 8990e7f commit df110b6 Copy full SHA for df110b6
File tree 1 file changed +2
-2
lines changed
src/main/java/com/mangopay/core
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public class RestTool {
28
28
private final static int MINUTES_15 = 15 ;
29
29
private final static int MINUTES_30 = 30 ;
30
30
private final static int MINUTES_60 = 60 ;
31
- private final static int ONE_DAY_IN_MINUTES = 60 * 24 ;
31
+ private final static int ONE_DAY_IN_MINUTES = MINUTES_60 * 24 ;
32
32
33
33
// root/parent instance that holds the OAuthToken and Configuration instance
34
34
private MangoPayApi root ;
@@ -527,7 +527,7 @@ private void setRateLimits(
527
527
) {
528
528
if (rateLimitResetValues .size () == rateLimitRemainingValues .size () && rateLimitResetValues .size () == rateLimitValues .size ()) {
529
529
if (this .debugMode ) {
530
- logger .info ("Assigning rate limits to root " );
530
+ logger .info ("Setting rate limits" );
531
531
}
532
532
List <RateLimit > rateLimits = new ArrayList <>();
533
533
You can’t perform that action at this time.
0 commit comments