-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
prison-core/src/test/java/tech/mcprison/prison/TestScheduler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package tech.mcprison.prison; | ||
|
||
import tech.mcprison.prison.internal.Scheduler; | ||
|
||
/** | ||
* @author Faizaan A. Datoo | ||
*/ | ||
public class TestScheduler implements Scheduler { | ||
@Override public int runTaskLater(Runnable run, long delay) { | ||
return 0; | ||
} | ||
|
||
@Override public int runTaskLaterAsync(Runnable run, long delay) { | ||
return 0; | ||
} | ||
|
||
@Override public int runTaskTimer(Runnable run, long delay, long interval) { | ||
return 0; | ||
} | ||
|
||
@Override public int runTaskTimerAsync(Runnable run, long delay, long interval) { | ||
return 0; | ||
} | ||
|
||
@Override public void cancelTask(int taskId) { | ||
|
||
} | ||
|
||
@Override public void cancelAll() { | ||
|
||
} | ||
} |