From fbf006dc9967a96e27d89aa2b3029529c85ad1dd Mon Sep 17 00:00:00 2001 From: nkorange Date: Fri, 5 Jul 2019 22:09:40 +0800 Subject: [PATCH] Fix JDK 1.6 compile failed bug --- .../com/alibaba/nacos/client/config/impl/ServerListManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main/java/com/alibaba/nacos/client/config/impl/ServerListManager.java b/client/src/main/java/com/alibaba/nacos/client/config/impl/ServerListManager.java index c49ed91f9..8f763746b 100644 --- a/client/src/main/java/com/alibaba/nacos/client/config/impl/ServerListManager.java +++ b/client/src/main/java/com/alibaba/nacos/client/config/impl/ServerListManager.java @@ -274,7 +274,7 @@ public class ServerListManager { return; } - List newServerAddrList = new ArrayList<>(); + List newServerAddrList = new ArrayList(); for (String server : newList) { if (server.startsWith(HTTP) || server.startsWith(HTTPS)) { newServerAddrList.add(server);