From 0512ff74f3afa1f2924d9a37dceb7663f575e23c Mon Sep 17 00:00:00 2001 From: MZR <1149963750@qq.com> Date: Tue, 10 Oct 2023 11:12:52 +0800 Subject: [PATCH] Optimize code format in BeforeCheckConfiguration --- .../java/cn/hippo4j/core/enable/BeforeCheckConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threadpool/core/src/main/java/cn/hippo4j/core/enable/BeforeCheckConfiguration.java b/threadpool/core/src/main/java/cn/hippo4j/core/enable/BeforeCheckConfiguration.java index a5a0265d..20c2df30 100644 --- a/threadpool/core/src/main/java/cn/hippo4j/core/enable/BeforeCheckConfiguration.java +++ b/threadpool/core/src/main/java/cn/hippo4j/core/enable/BeforeCheckConfiguration.java @@ -153,7 +153,7 @@ public class BeforeCheckConfiguration { "Web server maybe fail to start. The dynamic thread pool polaris namespace is empty.", "Please check whether the [spring.dynamic.thread-pool.polaris.namespace] configuration is empty or an empty string."); } - if (!(polaris.get("file") instanceof Map)) { + if (!(polaris.get("file") instanceof Map)) { throw new ConfigEmptyException( "Web server maybe fail to start. Lack of the dynamic thread pool polaris file configuration.", "Please check whether the [spring.dynamic.thread-pool.polaris.file.*] configuration is complete.");