From 6626b9527326d0c45dc4694f63782df405ceb24c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=97=E5=B0=91?= <314226532@qq.com> Date: Mon, 11 Mar 2019 20:53:01 +0800 Subject: [PATCH] change the isNotBlank to isBlank --- .../com/alibaba/nacos/client/naming/NacosNamingService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ddf518139..468958d46 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 @@ -167,7 +167,7 @@ public class NacosNamingService implements NamingService { } }); - if (com.alibaba.nacos.client.utils.StringUtils.isNotBlank(endpointUrl)) { + if (com.alibaba.nacos.client.utils.StringUtils.isBlank(endpointUrl)) { return; }