You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ke...@apache.org on 2019/04/07 14:09:58 UTC

[incubator-dubbo] branch master updated: Remove unnecessary groupId in pom.xml and replace with diamond operator (#3820)

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

kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new fb5d96d  Remove unnecessary groupId in pom.xml and replace with diamond operator (#3820)
fb5d96d is described below

commit fb5d96de60716a0ea7fbd5eb41731b4d67e3a803
Author: Alex <ch...@163.com>
AuthorDate: Sun Apr 7 22:09:30 2019 +0800

    Remove unnecessary groupId in pom.xml and replace with diamond operator (#3820)
---
 dubbo-registry/dubbo-registry-nacos/pom.xml                             | 1 -
 .../java/org/apache/dubbo/registry/zookeeper/ZookeeperRegistry.java     | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dubbo-registry/dubbo-registry-nacos/pom.xml b/dubbo-registry/dubbo-registry-nacos/pom.xml
index 15e27e2..9393c32 100644
--- a/dubbo-registry/dubbo-registry-nacos/pom.xml
+++ b/dubbo-registry/dubbo-registry-nacos/pom.xml
@@ -23,7 +23,6 @@
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
-    <groupId>org.apache.dubbo</groupId>
     <artifactId>dubbo-registry-nacos</artifactId>
     <name>${project.artifactId}</name>
     <description>The Nacos registry module of Dubbo project</description>
diff --git a/dubbo-registry/dubbo-registry-zookeeper/src/main/java/org/apache/dubbo/registry/zookeeper/ZookeeperRegistry.java b/dubbo-registry/dubbo-registry-zookeeper/src/main/java/org/apache/dubbo/registry/zookeeper/ZookeeperRegistry.java
index 93f584a..1c3eb27 100644
--- a/dubbo-registry/dubbo-registry-zookeeper/src/main/java/org/apache/dubbo/registry/zookeeper/ZookeeperRegistry.java
+++ b/dubbo-registry/dubbo-registry-zookeeper/src/main/java/org/apache/dubbo/registry/zookeeper/ZookeeperRegistry.java
@@ -54,7 +54,7 @@ public class ZookeeperRegistry extends FailbackRegistry {
 
     private final Set<String> anyServices = new ConcurrentHashSet<>();
 
-    private final ConcurrentMap<URL, ConcurrentMap<NotifyListener, ChildListener>> zkListeners = new ConcurrentHashMap<URL, ConcurrentMap<NotifyListener, ChildListener>>();
+    private final ConcurrentMap<URL, ConcurrentMap<NotifyListener, ChildListener>> zkListeners = new ConcurrentHashMap<>();
 
     private final ZookeeperClient zkClient;