IDEA Auto Inspect

This commit is contained in:
Izzel_Aliz
2018-03-24 23:18:11 +08:00
parent 848b91f2e7
commit d4910db108
139 changed files with 1714 additions and 1814 deletions

View File

@@ -1,11 +1,11 @@
package me.skymc.taboolib.thread;
import java.util.*;
import java.util.LinkedList;
public class ThreadUtils {
private static PoolWorker[] threads;
private static LinkedList<Runnable> queue = new LinkedList<>();
private static final LinkedList<Runnable> queue = new LinkedList<>();
/**
* 构造方法
@@ -63,8 +63,7 @@ public class ThreadUtils {
// 等待任务
try {
queue.wait();
}
catch (InterruptedException e) {
} catch (InterruptedException ignored) {
}
}