From 14e1f414dfefe43aeaa92a56b6bd9ce43c1f27a3 Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Fri, 20 May 2022 21:52:01 +0800 Subject: [PATCH] Dubbo thread pool adaptation code optimization --- .../java/cn/hippo4j/adapter/dubbo/DubboThreadPoolAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hippo4j-adapter/hippo4j-adapter-dubbo/src/main/java/cn/hippo4j/adapter/dubbo/DubboThreadPoolAdapter.java b/hippo4j-adapter/hippo4j-adapter-dubbo/src/main/java/cn/hippo4j/adapter/dubbo/DubboThreadPoolAdapter.java index 514d9b5b..609b3607 100644 --- a/hippo4j-adapter/hippo4j-adapter-dubbo/src/main/java/cn/hippo4j/adapter/dubbo/DubboThreadPoolAdapter.java +++ b/hippo4j-adapter/hippo4j-adapter-dubbo/src/main/java/cn/hippo4j/adapter/dubbo/DubboThreadPoolAdapter.java @@ -55,7 +55,7 @@ public class DubboThreadPoolAdapter implements ThreadPoolAdapter, ApplicationLis @Override public ThreadPoolAdapterState getThreadPoolState(String identify) { ThreadPoolAdapterState threadPoolAdapterState = new ThreadPoolAdapterState(); - final ThreadPoolExecutor executor = DUBBO_PROTOCOL_EXECUTOR.get(identify); + ThreadPoolExecutor executor = DUBBO_PROTOCOL_EXECUTOR.get(identify); if (executor == null) { log.warn("[{}] Dubbo consuming thread pool not found.", identify); return threadPoolAdapterState;