This is an automated email from the ASF dual-hosted git repository.

lidongdai pushed a commit to branch 1.3.6-prepare
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/1.3.6-prepare by this push:
     new 8e25a90  initStateLister名字改为initStateListener (#4793)
8e25a90 is described below

commit 8e25a90f5721c0087e489055be9b9808dd24b99f
Author: yimaixinchen <[email protected]>
AuthorDate: Thu Feb 18 18:02:36 2021 +0800

    initStateLister名字改为initStateListener (#4793)
    
    Co-authored-by: v_taoouyang <[email protected]>
---
 .../org/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 2396da4..5d4da2c 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
@@ -55,7 +55,7 @@ public class ZookeeperOperator implements InitializingBean {
     @Override
     public void afterPropertiesSet() throws Exception {
         this.zkClient = buildClient();
-        initStateLister();
+        initStateListener();
         treeCacheStart();
     }
 
@@ -66,7 +66,7 @@ public class ZookeeperOperator implements InitializingBean {
 
     protected void treeCacheStart(){}
 
-    public void initStateLister() {
+    public void initStateListener() {
         checkNotNull(zkClient);
 
         zkClient.getConnectionStateListenable().addListener((client, newState) 
-> {

Reply via email to