diff --git a/naming/src/main/java/com/alibaba/nacos/naming/utils/ServiceUtil.java b/naming/src/main/java/com/alibaba/nacos/naming/utils/ServiceUtil.java index c996f6812..0a4eb8a83 100644 --- a/naming/src/main/java/com/alibaba/nacos/naming/utils/ServiceUtil.java +++ b/naming/src/main/java/com/alibaba/nacos/naming/utils/ServiceUtil.java @@ -44,7 +44,7 @@ import java.util.stream.Collectors; * * @author xiweng.yy */ -public class ServiceUtil { +public final class ServiceUtil { /** * Select service name with group name.