win120a commented on code in PR #10292:
URL: https://github.com/apache/dubbo/pull/10292#discussion_r917358480


##########
dubbo-registry/dubbo-registry-zookeeper/src/main/java/org/apache/dubbo/registry/zookeeper/ZookeeperRegistry.java:
##########
@@ -150,8 +150,8 @@ public void doSubscribe(final URL url, final NotifyListener 
listener) {
                 String root = toRootPath();
                 boolean check = url.getParameter(CHECK_KEY, false);
                 ConcurrentMap<NotifyListener, ChildListener> listeners = 
zkListeners.computeIfAbsent(url, k -> new ConcurrentHashMap<>());
-                ChildListener zkListener = listeners.computeIfAbsent(listener, 
k -> (parentPath, currentChilds) -> {
-                    for (String child : currentChilds) {
+                ChildListener zkListener = listeners.computeIfAbsent(listener, 
k -> (parentPath, currentChildren) -> {
+                    for (String child : currentChildren) {
                         child = URL.decode(child);
                         if (!anyServices.contains(child)) {

Review Comment:
   不知道怎么就混了进来…… 我并没有动这里……



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to