From de9e113e24571aa6f9f6b8b905dc01759dff1829 Mon Sep 17 00:00:00 2001 From: Daydreamer-ia <2296032269@qq.com> Date: Sun, 28 Aug 2022 19:10:55 +0800 Subject: [PATCH] Fix checkstyle --- .../nacos/api/remote/request/ConnectionSetupRequest.java | 1 - .../com/alibaba/nacos/client/config/impl/ClientWorker.java | 1 - .../java/com/alibaba/nacos/common/remote/client/RpcClient.java | 1 - .../com/alibaba/nacos/core/cluster/ServerMemberManager.java | 3 ++- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/api/src/main/java/com/alibaba/nacos/api/remote/request/ConnectionSetupRequest.java b/api/src/main/java/com/alibaba/nacos/api/remote/request/ConnectionSetupRequest.java index 67e246ad6..046a897a4 100644 --- a/api/src/main/java/com/alibaba/nacos/api/remote/request/ConnectionSetupRequest.java +++ b/api/src/main/java/com/alibaba/nacos/api/remote/request/ConnectionSetupRequest.java @@ -16,7 +16,6 @@ package com.alibaba.nacos.api.remote.request; - import java.util.HashMap; import java.util.Map; diff --git a/client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java b/client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java index 2d83a5a52..fad43fc4c 100644 --- a/client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java +++ b/client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java @@ -17,7 +17,6 @@ package com.alibaba.nacos.client.config.impl; import com.alibaba.nacos.api.PropertyKeyConst; -import com.alibaba.nacos.api.ability.ClientAbilities; import com.alibaba.nacos.api.ability.constant.AbilityKey; import com.alibaba.nacos.api.common.Constants; import com.alibaba.nacos.api.config.ConfigType; diff --git a/common/src/main/java/com/alibaba/nacos/common/remote/client/RpcClient.java b/common/src/main/java/com/alibaba/nacos/common/remote/client/RpcClient.java index 3a5d1bff9..c4107c480 100644 --- a/common/src/main/java/com/alibaba/nacos/common/remote/client/RpcClient.java +++ b/common/src/main/java/com/alibaba/nacos/common/remote/client/RpcClient.java @@ -16,7 +16,6 @@ package com.alibaba.nacos.common.remote.client; -import com.alibaba.nacos.api.ability.ClientAbilities; import com.alibaba.nacos.api.ability.constant.AbilityStatus; import com.alibaba.nacos.api.ability.entity.AbilityTable; import com.alibaba.nacos.api.common.Constants; diff --git a/core/src/main/java/com/alibaba/nacos/core/cluster/ServerMemberManager.java b/core/src/main/java/com/alibaba/nacos/core/cluster/ServerMemberManager.java index d90653996..3c4e28b19 100644 --- a/core/src/main/java/com/alibaba/nacos/core/cluster/ServerMemberManager.java +++ b/core/src/main/java/com/alibaba/nacos/core/cluster/ServerMemberManager.java @@ -60,6 +60,7 @@ import java.util.Map; import java.util.Objects; import java.util.Set; import java.util.concurrent.ConcurrentSkipListMap; +import com.alibaba.nacos.core.ability.control.ServerAbilityControlManager; /** * Cluster node management in Nacos. @@ -176,7 +177,7 @@ public class ServerMemberManager implements ApplicationListener