From 850223580a389792b917ce0b80611614a41b80b6 Mon Sep 17 00:00:00 2001 From: IanCao Date: Mon, 10 Jun 2019 12:25:56 +0800 Subject: [PATCH] format code --- .../main/java/com/alibaba/nacos/client/utils/EnvUtil.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/main/java/com/alibaba/nacos/client/utils/EnvUtil.java b/client/src/main/java/com/alibaba/nacos/client/utils/EnvUtil.java index b1fcbe32a..f3c667154 100644 --- a/client/src/main/java/com/alibaba/nacos/client/utils/EnvUtil.java +++ b/client/src/main/java/com/alibaba/nacos/client/utils/EnvUtil.java @@ -92,8 +92,8 @@ public class EnvUtil { } StringBuilder result = new StringBuilder(); for (String string : list) { - result.append(","); result.append(string); + result.append(","); } return result.toString().substring(0, result.length() - 1); } @@ -101,7 +101,7 @@ public class EnvUtil { private static String selfAmorayTag; private static String selfVipserverTag; private static String selfLocationTag; - public final static String AMORY_TAG = "Amory-Tag"; - public final static String VIPSERVER_TAG = "Vipserver-Tag"; - public final static String LOCATION_TAG = "Location-Tag"; + private final static String AMORY_TAG = "Amory-Tag"; + private final static String VIPSERVER_TAG = "Vipserver-Tag"; + private final static String LOCATION_TAG = "Location-Tag"; }