Fix this annoying wart

This commit is contained in:
Andrew Steinborn
2018-09-19 14:57:53 -04:00
parent 50c27066e2
commit 5c3e1adee2
2 changed files with 4 additions and 4 deletions

View File

@@ -65,13 +65,13 @@ public class VelocityScheduler implements Scheduler {
}
@Override
public TaskBuilder delay(int time, TimeUnit unit) {
public TaskBuilder delay(long time, TimeUnit unit) {
this.delay = unit.toMillis(time);
return this;
}
@Override
public TaskBuilder repeat(int time, TimeUnit unit) {
public TaskBuilder repeat(long time, TimeUnit unit) {
this.repeat = unit.toMillis(time);
return this;
}