Optimization of code

pull/1130/head
chen.ma 2 years ago
parent 516999f73d
commit 771d73f04a

@ -49,7 +49,6 @@ import static cn.hippo4j.adapter.base.ThreadPoolAdapterBeanContainer.THREAD_POOL
public class ThreadPoolAdapterController { public class ThreadPoolAdapterController {
private final ConfigurableEnvironment environment; private final ConfigurableEnvironment environment;
private final InetUtils hippo4JInetUtils; private final InetUtils hippo4JInetUtils;
@GetMapping("/adapter/thread-pool/info") @GetMapping("/adapter/thread-pool/info")

@ -40,7 +40,6 @@ import java.util.List;
public class WebThreadPoolRunStateController { public class WebThreadPoolRunStateController {
private final ThreadPoolRunStateHandler threadPoolRunStateHandler; private final ThreadPoolRunStateHandler threadPoolRunStateHandler;
private final ThreadDetailState threadDetailState; private final ThreadDetailState threadDetailState;
@GetMapping("/run/state/{threadPoolId}") @GetMapping("/run/state/{threadPoolId}")

Loading…
Cancel
Save