Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1565: Only poll for updated MRs from GitLab #1369

Closed
wants to merge 17 commits into from
2 changes: 1 addition & 1 deletion forge/src/main/java/org/openjdk/skara/forge/Forge.java
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ public interface Forge extends Host {
* default returns 0 which means no special considerations are needed.
*/
default Duration minTimeStampUpdateInterval() {
return Duration.ofMillis(0);
return Duration.ZERO;
}

static Forge from(String name, URI uri, Credential credential, JSONObject configuration) {
2 changes: 1 addition & 1 deletion test/src/main/java/org/openjdk/skara/test/TestHost.java
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ public class TestHost implements Forge, IssueTracker {
// Setting this field doesn't change the behavior of the TestHost, but it changes
// what the associated method returns, which triggers different code paths in
// dependent code for testing.
private Duration minTimeStampUpdateInterval = Duration.ofMillis(0);
private Duration minTimeStampUpdateInterval = Duration.ZERO;

private static class HostData {
final List<HostUser> users = new ArrayList<>();