diff --git a/src/main/java/we/plugin/stat/StatPluginFilter.java b/src/main/java/we/plugin/stat/StatPluginFilter.java index 27c7f80..a314537 100644 --- a/src/main/java/we/plugin/stat/StatPluginFilter.java +++ b/src/main/java/we/plugin/stat/StatPluginFilter.java @@ -84,11 +84,11 @@ public class StatPluginFilter extends PluginFilter { public void init() { Iterator it = gatewayGroupService.currentGatewayGroupSet.iterator(); while (it.hasNext()) { - if(StringUtils.isBlank(currentGatewayGroups)) { - currentGatewayGroups = it.next(); - }else { - currentGatewayGroups = currentGatewayGroups + ',' + it.next(); - } + if (StringUtils.isBlank(currentGatewayGroups)) { + currentGatewayGroups = it.next(); + } else { + currentGatewayGroups = currentGatewayGroups + ',' + it.next(); + } } }