diff --git a/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/queue/CustomBlockingQueue.java b/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/CustomBlockingQueue.java similarity index 87% rename from dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/queue/CustomBlockingQueue.java rename to dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/CustomBlockingQueue.java index 15bd60a8..c06f160c 100644 --- a/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/queue/CustomBlockingQueue.java +++ b/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/CustomBlockingQueue.java @@ -1,4 +1,4 @@ -package io.dynamic.threadpool.starter.spi.queue; +package io.dynamic.threadpool.starter.spi; import java.util.concurrent.BlockingQueue; diff --git a/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/rejected/CustomRejectedExecutionHandler.java b/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/CustomRejectedExecutionHandler.java similarity index 88% rename from dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/rejected/CustomRejectedExecutionHandler.java rename to dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/CustomRejectedExecutionHandler.java index 7cb297fb..624f5dd2 100644 --- a/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/rejected/CustomRejectedExecutionHandler.java +++ b/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/CustomRejectedExecutionHandler.java @@ -1,4 +1,4 @@ -package io.dynamic.threadpool.starter.spi.rejected; +package io.dynamic.threadpool.starter.spi; import java.util.concurrent.RejectedExecutionHandler; diff --git a/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/DynamicTpServiceLoader.java b/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/DynamicTpServiceLoader.java index 9bfbe9f2..1365a1b7 100644 --- a/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/DynamicTpServiceLoader.java +++ b/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/DynamicTpServiceLoader.java @@ -1,7 +1,5 @@ package io.dynamic.threadpool.starter.spi; -import io.dynamic.threadpool.starter.spi.exception.ServiceLoaderInstantiationException; - import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.stream.Collectors; diff --git a/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/exception/ServiceLoaderInstantiationException.java b/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/ServiceLoaderInstantiationException.java similarity index 88% rename from dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/exception/ServiceLoaderInstantiationException.java rename to dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/ServiceLoaderInstantiationException.java index 718d68bf..9bf53803 100644 --- a/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/exception/ServiceLoaderInstantiationException.java +++ b/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/spi/ServiceLoaderInstantiationException.java @@ -1,4 +1,4 @@ -package io.dynamic.threadpool.starter.spi.exception; +package io.dynamic.threadpool.starter.spi; /** * Service loader instantiation exception. diff --git a/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/toolkit/thread/QueueTypeEnum.java b/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/toolkit/thread/QueueTypeEnum.java index 324f4955..52d4440e 100644 --- a/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/toolkit/thread/QueueTypeEnum.java +++ b/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/toolkit/thread/QueueTypeEnum.java @@ -1,7 +1,7 @@ package io.dynamic.threadpool.starter.toolkit.thread; import io.dynamic.threadpool.starter.spi.DynamicTpServiceLoader; -import io.dynamic.threadpool.starter.spi.queue.CustomBlockingQueue; +import io.dynamic.threadpool.starter.spi.CustomBlockingQueue; import java.util.Collection; import java.util.Objects; diff --git a/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/toolkit/thread/RejectedTypeEnum.java b/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/toolkit/thread/RejectedTypeEnum.java index ed208402..fd0532c7 100644 --- a/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/toolkit/thread/RejectedTypeEnum.java +++ b/dynamic-threadpool-spring-boot-starter/src/main/java/io/dynamic/threadpool/starter/toolkit/thread/RejectedTypeEnum.java @@ -1,7 +1,7 @@ package io.dynamic.threadpool.starter.toolkit.thread; import io.dynamic.threadpool.starter.spi.DynamicTpServiceLoader; -import io.dynamic.threadpool.starter.spi.rejected.CustomRejectedExecutionHandler; +import io.dynamic.threadpool.starter.spi.CustomRejectedExecutionHandler; import java.util.Collection; import java.util.Objects;