diff --git a/src/main/java/vip/fubuki/playersync/util/PSThreadPoolFactory.java b/src/main/java/vip/fubuki/playersync/util/PSThreadPoolFactory.java index 5d00713..4f47205 100644 --- a/src/main/java/vip/fubuki/playersync/util/PSThreadPoolFactory.java +++ b/src/main/java/vip/fubuki/playersync/util/PSThreadPoolFactory.java @@ -1,7 +1,5 @@ package vip.fubuki.playersync.util; -import org.jetbrains.annotations.NotNull; - import java.util.concurrent.ThreadFactory; import java.util.concurrent.atomic.AtomicInteger; @@ -13,15 +11,11 @@ public class PSThreadPoolFactory implements ThreadFactory { public PSThreadPoolFactory(String Prefix) { threadNamePrefix = Prefix; } + @Override - public Thread newThread(@NotNull Runnable runnable) { + public Thread newThread(Runnable runnable) { Thread thread = new Thread(runnable); thread.setName(threadNamePrefix + "-thread-" + threadIdx.getAndIncrement()); return thread; } - - - - - }