Skip to content

Commit f2eecc3

Browse files
authored
Update src/main/java/org/kohsuke/github/GHRateLimit.java
1 parent f2a70a4 commit f2eecc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ public static class UnknownLimitRecord extends Record {
345345
private static final UnknownLimitRecord DEFAULT = new UnknownLimitRecord(Long.MIN_VALUE);
346346

347347
// The starting current UnknownLimitRecord is an expired record.
348-
private static AtomicReference<UnknownLimitRecord> current = new AtomicReference<>(DEFAULT);
348+
private static final AtomicReference<UnknownLimitRecord> current = new AtomicReference<>(DEFAULT);
349349

350350
/**
351351
* Create a new unknown record that resets at the specified time.

0 commit comments

Comments
 (0)