Project cleanup pre merge.

This commit is contained in:
MagicBot committed 2023-07-15 09:23:48 -04:00
1 parent 134b651df8
commit 9bbdef224d
747 files changed
+99704 -101200

No files matched your search

+19 -23
View File
@@ -14,30 +14,26 @@ import org.pmw.tinylog.Logger;
public abstract class ThreadUtils {
private ThreadUtils() {
}
private ThreadUtils() {
}
/**
* Force the current thread to sleep for <i>sec</i> seconds and <i>ms</i>
* milliseconds.
*
*
*/
public static void sleep(int sec, long ms) {
try {
Thread.sleep((1000L * sec) + ms);
} catch (InterruptedException e) {
Logger.error( e.toString());
}
}
/**
* Force the current thread to sleep for <i>sec</i> seconds and <i>ms</i>
* milliseconds.
*/
public static void sleep(int sec, long ms) {
try {
Thread.sleep((1000L * sec) + ms);
} catch (InterruptedException e) {
Logger.error(e.toString());
}
}
/**
* Force the current thread to sleep for <i>ms</i> milliseconds.
*
*
*/
public static void sleep(long ms) {
ThreadUtils.sleep(0, ms);
}
/**
* Force the current thread to sleep for <i>ms</i> milliseconds.
*/
public static void sleep(long ms) {
ThreadUtils.sleep(0, ms);
}
}