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

zhangzicheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 0ea4fe1fc Update AlibabaDubboConfigCache.java (#4772)
0ea4fe1fc is described below

commit 0ea4fe1fc5ee0ba81b3a88b4ddb2c9d8b37bccc1
Author: wanyaoasiainfo <[email protected]>
AuthorDate: Wed Jun 28 11:20:51 2023 +0800

    Update AlibabaDubboConfigCache.java (#4772)
    
    Delete duplicate
    
    Co-authored-by: dragon-zhang <[email protected]>
---
 .../shenyu/plugin/alibaba/dubbo/cache/AlibabaDubboConfigCache.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-dubbo/shenyu-plugin-alibaba-dubbo/src/main/java/org/apache/shenyu/plugin/alibaba/dubbo/cache/AlibabaDubboConfigCache.java
 
b/shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-dubbo/shenyu-plugin-alibaba-dubbo/src/main/java/org/apache/shenyu/plugin/alibaba/dubbo/cache/AlibabaDubboConfigCache.java
index 7ef449198..3ef6c1e68 100644
--- 
a/shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-dubbo/shenyu-plugin-alibaba-dubbo/src/main/java/org/apache/shenyu/plugin/alibaba/dubbo/cache/AlibabaDubboConfigCache.java
+++ 
b/shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-dubbo/shenyu-plugin-alibaba-dubbo/src/main/java/org/apache/shenyu/plugin/alibaba/dubbo/cache/AlibabaDubboConfigCache.java
@@ -118,8 +118,7 @@ public final class AlibabaDubboConfigCache extends 
DubboConfigCache {
             return true;
         }
         return !Objects.equals(dubboRegisterConfig.getProtocol(), 
registryConfig.getProtocol())
-                || !Objects.equals(dubboRegisterConfig.getRegister(), 
registryConfig.getAddress())
-                || !Objects.equals(dubboRegisterConfig.getProtocol(), 
registryConfig.getProtocol());
+                || !Objects.equals(dubboRegisterConfig.getRegister(), 
registryConfig.getAddress());
     }
     
     /**

Reply via email to