代码优化.

pull/106/head
chen.ma 3 years ago
parent 6ccc3f0cb3
commit 9b07d223cb

@ -74,7 +74,6 @@ public class DynamicThreadPoolExecutor extends DynamicExecutorConfigurationSuppo
@NonNull RejectedExecutionHandler handler) { @NonNull RejectedExecutionHandler handler) {
super(corePoolSize, maximumPoolSize, keepAliveTime, unit, waitForTasksToCompleteOnShutdown, awaitTerminationMillis, workQueue, threadPoolId, threadFactory, handler); super(corePoolSize, maximumPoolSize, keepAliveTime, unit, waitForTasksToCompleteOnShutdown, awaitTerminationMillis, workQueue, threadPoolId, threadFactory, handler);
this.corePoolSize = corePoolSize; this.corePoolSize = corePoolSize;
this.maximumPoolSize = maximumPoolSize; this.maximumPoolSize = maximumPoolSize;
this.workQueue = workQueue; this.workQueue = workQueue;

@ -26,7 +26,7 @@ public class DynamicThreadPoolBannerHandler implements InitializingBean {
private final String HIPPO4J_GITHUB = "GitHub: https://github.com/acmenlt/dynamic-threadpool"; private final String HIPPO4J_GITHUB = "GitHub: https://github.com/acmenlt/dynamic-threadpool";
private final String HIPPO4J_SITE = "Site: https://www.hippox.cn"; private final String HIPPO4J_SITE = "Site: https://hippox.cn";
private final int STRAP_LINE_SIZE = 50; private final int STRAP_LINE_SIZE = 50;

Loading…
Cancel
Save