Skip to content

Commit

Permalink
Update ApiRateLimitChecker.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseman authored Jul 26, 2021
1 parent 7b15828 commit e6869fd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.jenkinsci.plugins.github_branch_source;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import hudson.Util;
import hudson.model.TaskListener;
import hudson.util.LogTaskListener;
Expand All @@ -15,6 +16,7 @@
import org.kohsuke.github.GitHub;
import org.kohsuke.github.RateLimitChecker;

@SuppressFBWarnings("DMI_RANDOM_USED_ONLY_ONCE") // https://github.com/spotbugs/spotbugs/issues/1539
public enum ApiRateLimitChecker {

/** Attempt to evenly distribute GitHub API requests. */
Expand Down

0 comments on commit e6869fd

Please sign in to comment.