From 0b0d0c4c83be0be335e65c78ba628eaa93610654 Mon Sep 17 00:00:00 2001 From: nkorange Date: Wed, 12 Jun 2019 14:33:38 +0800 Subject: [PATCH] Optimize code --- .../java/com/alibaba/nacos/client/naming/utils/InitUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {