From 15929e17eac0603fae9976820b1e7719bcf45ffe Mon Sep 17 00:00:00 2001 From: TheFatRatre <1981590178@qq.com> Date: Wed, 20 Nov 2024 12:00:46 +0800 Subject: [PATCH] format --- .../core/support/proxy/VirtualThreadExecutorProxy.java | 8 +++++++- .../spring/annotation/DtpBeanDefinitionRegistrar.java | 1 - 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/dromara/dynamictp/core/support/proxy/VirtualThreadExecutorProxy.java b/core/src/main/java/org/dromara/dynamictp/core/support/proxy/VirtualThreadExecutorProxy.java index 3a447043d..906d3b4c0 100644 --- a/core/src/main/java/org/dromara/dynamictp/core/support/proxy/VirtualThreadExecutorProxy.java +++ b/core/src/main/java/org/dromara/dynamictp/core/support/proxy/VirtualThreadExecutorProxy.java @@ -28,7 +28,13 @@ import java.util.Collection; import java.util.List; import java.util.Set; -import java.util.concurrent.*; +import java.util.concurrent.Callable; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Future; +import java.util.concurrent.FutureTask; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; /** * ClassName: VirtualThreadExecutorProxy diff --git a/spring/src/main/java/org/dromara/dynamictp/spring/annotation/DtpBeanDefinitionRegistrar.java b/spring/src/main/java/org/dromara/dynamictp/spring/annotation/DtpBeanDefinitionRegistrar.java index af7717f1f..2ed9fc3f4 100644 --- a/spring/src/main/java/org/dromara/dynamictp/spring/annotation/DtpBeanDefinitionRegistrar.java +++ b/spring/src/main/java/org/dromara/dynamictp/spring/annotation/DtpBeanDefinitionRegistrar.java @@ -24,7 +24,6 @@ import org.dromara.dynamictp.common.em.JreEnum; import org.dromara.dynamictp.common.entity.DtpExecutorProps; import org.dromara.dynamictp.common.properties.DtpProperties; -import org.dromara.dynamictp.common.util.VersionUtil; import org.dromara.dynamictp.core.executor.ExecutorType; import org.dromara.dynamictp.core.executor.NamedThreadFactory; import org.dromara.dynamictp.core.executor.eager.EagerDtpExecutor;