Stellar1999 commented on code in PR #14028:
URL: https://github.com/apache/dubbo/pull/14028#discussion_r1554836966


##########
dubbo-remoting/dubbo-remoting-zookeeper-api/src/main/java/org/apache/dubbo/remoting/zookeeper/ZookeeperTransporter.java:
##########
@@ -27,16 +27,14 @@ public interface ZookeeperTransporter {
 
     String CURATOR_5 = "curator5";
 
-    String CURATOR = "curator";
-
     ZookeeperClient connect(URL url);
 
     void destroy();
 
     static ZookeeperTransporter getExtension(ApplicationModel 
applicationModel) {
         ExtensionLoader<ZookeeperTransporter> extensionLoader =
                 
applicationModel.getExtensionLoader(ZookeeperTransporter.class);
-        return isHighVersionCurator() ? 
extensionLoader.getExtension(CURATOR_5) : extensionLoader.getExtension(CURATOR);
+        return extensionLoader.getExtension(CURATOR_5);

Review Comment:
   OK, but I think I will use another PR and issue to handle this task. Because 
the test cases are still growing, I want to finish this PR earlier. Is that OK?



-- 
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: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to