Fix JDK 1.6 compile failed bug

This commit is contained in:
nkorange 2019-07-05 22:09:40 +08:00
parent 15eff1c3db
commit fbf006dc99

View File

@ -274,7 +274,7 @@ public class ServerListManager {
return;
}
List<String> newServerAddrList = new ArrayList<>();
List<String> newServerAddrList = new ArrayList<String>();
for (String server : newList) {
if (server.startsWith(HTTP) || server.startsWith(HTTPS)) {
newServerAddrList.add(server);