Merge pull request #127 from aCoder2013/fix-serverlist-check

Fix potential NPE
This commit is contained in:
Fury Zhu 2018-10-18 10:00:24 +08:00 committed by GitHub
commit 1571945446
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ public class NamingProxy {
List<String> list = getServerListFromEndpoint();
if (list.isEmpty()) {
if (CollectionUtils.isEmpty(list)) {
throw new Exception("Can not acquire vipserver list");
}