This is an automated email from the ASF dual-hosted git repository.
hyunkun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/master by this push:
new eeca7c9 [Dubbo-5537] remove unused variable in EtcdServiceDiscovery
(#5548)
eeca7c9 is described below
commit eeca7c947dff6392fa8057836333d3ba719747e9
Author: shtke <[email protected]>
AuthorDate: Sun Dec 29 21:12:21 2019 +0900
[Dubbo-5537] remove unused variable in EtcdServiceDiscovery (#5548)
---
.../java/org/apache/dubbo/registry/etcd/EtcdServiceDiscovery.java | 4 ----
1 file changed, 4 deletions(-)
diff --git
a/dubbo-registry/dubbo-registry-etcd3/src/main/java/org/apache/dubbo/registry/etcd/EtcdServiceDiscovery.java
b/dubbo-registry/dubbo-registry-etcd3/src/main/java/org/apache/dubbo/registry/etcd/EtcdServiceDiscovery.java
index 821d80c..a26ebc6 100644
---
a/dubbo-registry/dubbo-registry-etcd3/src/main/java/org/apache/dubbo/registry/etcd/EtcdServiceDiscovery.java
+++
b/dubbo-registry/dubbo-registry-etcd3/src/main/java/org/apache/dubbo/registry/etcd/EtcdServiceDiscovery.java
@@ -24,7 +24,6 @@ import org.apache.dubbo.common.utils.CollectionUtils;
import org.apache.dubbo.common.utils.ConcurrentHashSet;
import org.apache.dubbo.event.EventDispatcher;
import org.apache.dubbo.event.EventListener;
-import org.apache.dubbo.registry.NotifyListener;
import org.apache.dubbo.registry.client.DefaultServiceInstance;
import org.apache.dubbo.registry.client.ServiceDiscovery;
import org.apache.dubbo.registry.client.ServiceInstance;
@@ -47,7 +46,6 @@ import java.util.Map;
import java.util.Optional;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
-import java.util.concurrent.ConcurrentMap;
/**
* 2019-07-08
@@ -61,8 +59,6 @@ public class EtcdServiceDiscovery implements
ServiceDiscovery, EventListener<Ser
private final Set<String> services = new ConcurrentHashSet<>();
private final Map<String, ChildListener> childListenerMap = new
ConcurrentHashMap<>();
- private final ConcurrentMap<URL, ConcurrentMap<NotifyListener,
ChildListener>> etcdListeners = new ConcurrentHashMap<>();
-
EtcdClient etcdClient;
EventDispatcher dispatcher;
ServiceInstance serviceInstance;