From 3e670583623793240787eb4c187ac092da6d1c17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ZZQ=E7=9A=84?= <33930711+zzq1314zll@users.noreply.github.com> Date: Mon, 5 Jul 2021 10:08:09 +0800 Subject: [PATCH] [ISSUE #6252] replace *commons.lang3*.*Utils to com.alibaba.nacos.common.utils.*Utils (#6259) --- .../nacos/address/component/AddressServerGeneratorManager.java | 2 +- .../alibaba/nacos/address/component/AddressServerManager.java | 2 +- .../address/controller/AddressServerClusterController.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/address/src/main/java/com/alibaba/nacos/address/component/AddressServerGeneratorManager.java b/address/src/main/java/com/alibaba/nacos/address/component/AddressServerGeneratorManager.java index d15fe77ca..018cf558d 100644 --- a/address/src/main/java/com/alibaba/nacos/address/component/AddressServerGeneratorManager.java +++ b/address/src/main/java/com/alibaba/nacos/address/component/AddressServerGeneratorManager.java @@ -20,7 +20,7 @@ import com.alibaba.nacos.address.constant.AddressServerConstants; import com.alibaba.nacos.api.common.Constants; import com.alibaba.nacos.common.utils.InternetAddressUtil; import com.alibaba.nacos.naming.core.Instance; -import org.apache.commons.lang3.StringUtils; +import com.alibaba.nacos.common.utils.StringUtils; import org.springframework.stereotype.Component; import java.util.ArrayList; diff --git a/address/src/main/java/com/alibaba/nacos/address/component/AddressServerManager.java b/address/src/main/java/com/alibaba/nacos/address/component/AddressServerManager.java index 20880cd80..e2937f287 100644 --- a/address/src/main/java/com/alibaba/nacos/address/component/AddressServerManager.java +++ b/address/src/main/java/com/alibaba/nacos/address/component/AddressServerManager.java @@ -18,7 +18,7 @@ package com.alibaba.nacos.address.component; import com.alibaba.nacos.address.constant.AddressServerConstants; import com.alibaba.nacos.naming.misc.UtilsAndCommons; -import org.apache.commons.lang3.StringUtils; +import com.alibaba.nacos.common.utils.StringUtils; import org.springframework.stereotype.Component; /** diff --git a/address/src/main/java/com/alibaba/nacos/address/controller/AddressServerClusterController.java b/address/src/main/java/com/alibaba/nacos/address/controller/AddressServerClusterController.java index c3a917494..9ce822597 100644 --- a/address/src/main/java/com/alibaba/nacos/address/controller/AddressServerClusterController.java +++ b/address/src/main/java/com/alibaba/nacos/address/controller/AddressServerClusterController.java @@ -27,7 +27,7 @@ import com.alibaba.nacos.naming.core.Cluster; import com.alibaba.nacos.naming.core.Instance; import com.alibaba.nacos.naming.core.Service; import com.alibaba.nacos.naming.core.ServiceManager; -import org.apache.commons.lang3.StringUtils; +import com.alibaba.nacos.common.utils.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity;