Update src/main/java/org/kohsuke/github/GHRateLimit.java

This commit is contained in:
Liam Newman
2021-05-06 14:37:11 -07:00
committed by GitHub
parent f2a70a46ad
commit f2eecc3cc5

View File

@@ -345,7 +345,7 @@ public class GHRateLimit {
private static final UnknownLimitRecord DEFAULT = new UnknownLimitRecord(Long.MIN_VALUE); private static final UnknownLimitRecord DEFAULT = new UnknownLimitRecord(Long.MIN_VALUE);
// The starting current UnknownLimitRecord is an expired record. // The starting current UnknownLimitRecord is an expired record.
private static AtomicReference<UnknownLimitRecord> current = new AtomicReference<>(DEFAULT); private static final AtomicReference<UnknownLimitRecord> current = new AtomicReference<>(DEFAULT);
/** /**
* Create a new unknown record that resets at the specified time. * Create a new unknown record that resets at the specified time.