Fix javadoc comments

This commit is contained in:
Thijs Wiefferink 2017-06-12 20:42:36 +02:00
parent 0b96b9cb42
commit 4002956aeb
2 changed files with 5 additions and 0 deletions

View File

@ -77,6 +77,7 @@ public class GithubUpdateCheck {
/**
* Check if an update is available.
* @param callback Callback to execute when the update check is done
* @return GithubUpdateCheck containing the status of the check
*/
public GithubUpdateCheck checkUpdate(UpdateCallback callback) {
checking = true;

View File

@ -68,6 +68,7 @@ public class Task {
/**
* Run a timer task on the main server thread.
* @param runnable The BukkitRunnable to run
* @param period Time between task runs
*/
public static void syncTimer(long period, Run runnable) {
new BukkitRunnable() {
@ -81,6 +82,7 @@ public class Task {
/**
* Run a timer task on the main server thread.
* @param runnable The BukkitRunnable to run
* @param period Time between task runs
*/
public static void syncTimer(long period, RunResult<Boolean> runnable) {
new BukkitRunnable() {
@ -96,6 +98,7 @@ public class Task {
/**
* Run a timer task on an asynchronous thread.
* @param runnable The BukkitRunnable to run
* @param period Time between task runs
*/
public static void asyncTimer(long period, Run runnable) {
new BukkitRunnable() {
@ -109,6 +112,7 @@ public class Task {
/**
* Run a timer task on an asynchronous thread.
* @param runnable The BukkitRunnable to run
* @param period Time between task runs
*/
public static void asyncTimer(long period, RunResult<Boolean> runnable) {
new BukkitRunnable() {