diff --git a/client/src/main/java/com/alibaba/nacos/client/naming/utils/InitUtils.java b/client/src/main/java/com/alibaba/nacos/client/naming/utils/InitUtils.java index 6920f1b72..1e3efd093 100644 --- a/client/src/main/java/com/alibaba/nacos/client/naming/utils/InitUtils.java +++ b/client/src/main/java/com/alibaba/nacos/client/naming/utils/InitUtils.java @@ -121,7 +121,7 @@ public class InitUtils { if (isUseEndpointParsingRule) { // Get the set domain name information endpointUrl = ParamUtil.parsingEndpointRule(properties.getProperty(PropertyKeyConst.ENDPOINT)); - if (com.alibaba.nacos.client.utils.StringUtils.isBlank(endpointUrl)) { + if (StringUtils.isBlank(endpointUrl)) { return ""; } } else {