未验证 提交 16542210 编写于 作者: E easyscheduler 提交者: GitHub

Merge pull request #548 from boandai/dev-1.1.0

delete nouse code
...@@ -22,10 +22,11 @@ public class FuncUtils { ...@@ -22,10 +22,11 @@ public class FuncUtils {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
boolean first = true; boolean first = true;
for (String item : list) { for (String item : list) {
if (first) if (first) {
first = false; first = false;
else } else {
sb.append(split); sb.append(split);
}
sb.append(item); sb.append(item);
} }
return sb.toString(); return sb.toString();
......
...@@ -312,7 +312,6 @@ public abstract class AbstractZKClient { ...@@ -312,7 +312,6 @@ public abstract class AbstractZKClient {
childrenList = zkClient.getChildren().forPath(masterZNodeParentPath); childrenList = zkClient.getChildren().forPath(masterZNodeParentPath);
} }
} catch (Exception e) { } catch (Exception e) {
// logger.warn(e.getMessage());
if(!e.getMessage().contains("java.lang.IllegalStateException: instance must be started")){ if(!e.getMessage().contains("java.lang.IllegalStateException: instance must be started")){
logger.warn(e.getMessage(),e); logger.warn(e.getMessage(),e);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册