From 2ff8da48327ce396f1ba2ef6d92d603eebd3b36b Mon Sep 17 00:00:00 2001 From: Roger3581321 Date: Mon, 2 Aug 2021 09:42:13 +0800 Subject: [PATCH] add final to modify the utility class (#6511) --- .../main/java/com/alibaba/nacos/naming/utils/ServiceUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.