Fix JDK 1.6 compile failed bug
This commit is contained in:
parent
15eff1c3db
commit
fbf006dc99
@ -274,7 +274,7 @@ public class ServerListManager {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
List<String> newServerAddrList = new ArrayList<>();
|
List<String> newServerAddrList = new ArrayList<String>();
|
||||||
for (String server : newList) {
|
for (String server : newList) {
|
||||||
if (server.startsWith(HTTP) || server.startsWith(HTTPS)) {
|
if (server.startsWith(HTTP) || server.startsWith(HTTPS)) {
|
||||||
newServerAddrList.add(server);
|
newServerAddrList.add(server);
|
||||||
|
Loading…
Reference in New Issue
Block a user