From 938621ab3465a17a3b8e6b515076cf79b031be14 Mon Sep 17 00:00:00 2001 From: yimaixinchen Date: Thu, 18 Feb 2021 18:48:09 +0800 Subject: [PATCH] initStateLister rename to initStateListener (#4795) Co-authored-by: v_taoouyang --- .../apache/dolphinscheduler/service/zk/ZookeeperOperator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/zk/ZookeeperOperator.java b/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/zk/ZookeeperOperator.java index 8a219837b7..8ea9ea5ba3 100644 --- a/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/zk/ZookeeperOperator.java +++ b/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/zk/ZookeeperOperator.java @@ -59,7 +59,7 @@ public class ZookeeperOperator implements InitializingBean { @Override public void afterPropertiesSet() throws Exception { this.zkClient = buildClient(); - initStateLister(); + initStateListener(); treeCacheStart(); } @@ -74,7 +74,7 @@ public class ZookeeperOperator implements InitializingBean { // Used by sub class } - public void initStateLister() { + public void initStateListener() { checkNotNull(zkClient); zkClient.getConnectionStateListenable().addListener((client, newState) -> {