Skip to content

Commit

Permalink
npe
Browse files Browse the repository at this point in the history
  • Loading branch information
virjar committed Oct 12, 2019
1 parent 7eee03d commit c8c0c5d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import org.apache.commons.lang3.StringUtils;

import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.concurrent.BlockingDeque;
Expand Down Expand Up @@ -147,6 +148,9 @@ private NatClient queryByClient(String clientId) {

public List<String> channelStatus(String group) {
ClientGroup clientGroup = clientGroupMap.get(group);
if (clientGroup == null) {
return Collections.emptyList();
}
Collection<NatClient> natClients = clientGroup.natClientMap.values();
List<String> clientVo = Lists.newArrayList();
for (NatClient natClient : natClients) {
Expand Down

0 comments on commit c8c0c5d

Please sign in to comment.