Browse Source

delete nouse code

pull/2/head
lidongdai 5 years ago
parent
commit
f9d4cf46c0
  1. 5
      escheduler-alert/src/main/java/cn/escheduler/alert/utils/FuncUtils.java
  2. 1
      escheduler-common/src/main/java/cn/escheduler/common/zk/AbstractZKClient.java

5
escheduler-alert/src/main/java/cn/escheduler/alert/utils/FuncUtils.java

@ -22,10 +22,11 @@ public class FuncUtils {
StringBuilder sb = new StringBuilder();
boolean first = true;
for (String item : list) {
if (first)
if (first) {
first = false;
else
} else {
sb.append(split);
}
sb.append(item);
}
return sb.toString();

1
escheduler-common/src/main/java/cn/escheduler/common/zk/AbstractZKClient.java

@ -312,7 +312,6 @@ public abstract class AbstractZKClient {
childrenList = zkClient.getChildren().forPath(masterZNodeParentPath);
}
} catch (Exception e) {
// logger.warn(e.getMessage());
if(!e.getMessage().contains("java.lang.IllegalStateException: instance must be started")){
logger.warn(e.getMessage(),e);
}

Loading…
Cancel
Save