Project cleanup pre merge.

This commit is contained in:
2023-07-15 09:23:48 -04:00
parent 134b651df8
commit 9bbdef224d
747 changed files with 99704 additions and 101200 deletions
+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);
}
}