style: format code

This commit is contained in:
hongqiaowei
2020-10-27 15:39:26 +08:00
parent 66a8b155ae
commit a5f278a780

View File

@@ -84,11 +84,11 @@ public class StatPluginFilter extends PluginFilter {
public void init() {
Iterator<String> 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();
}
}
}