diff --git a/client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java b/client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java index 868e5df47..09b6da76e 100644 --- a/client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java +++ b/client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java @@ -166,7 +166,7 @@ public class NacosNamingService implements NamingService { endpointUrl = properties.getProperty(PropertyKeyConst.ENDPOINT); } - if (com.alibaba.nacos.client.utils.StringUtils.isBlank(endpointUrl)) { + if (StringUtils.isBlank(endpointUrl)) { return; }