mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-10 08:21:21 +00:00
Update src/main/java/org/kohsuke/github/GHRateLimit.java
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user