提交 5c52e93e 编写于 作者: 许雪里's avatar 许雪里

PR

......@@ -66,10 +66,11 @@ public class JobRegistryMonitorHelper {
String addressListStr = null;
if (registryList!=null && !registryList.isEmpty()) {
Collections.sort(registryList);
addressListStr = "";
StringBuilder sb = new StringBuilder();
for (String item:registryList) {
addressListStr += item + ",";
sb.append(item).append(",");
}
addressListStr = sb.toString();
addressListStr = addressListStr.substring(0, addressListStr.length()-1);
}
group.setAddressList(addressListStr);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册