Optimize code

This commit is contained in:
nkorange 2019-06-12 14:33:38 +08:00
parent a7f3cabf3c
commit 0b0d0c4c83

View File

@ -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 {