This is an automated email from the ASF dual-hosted git repository.
victory pushed a commit to branch 2.7.3-release
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/2.7.3-release by this push:
new 4676d22 fix RpcContext compatible problem (#4544)
4676d22 is described below
commit 4676d22e3b7e56fa336d9cfaafed2d8c69270de4
Author: ken.lj <[email protected]>
AuthorDate: Fri Jul 12 09:55:56 2019 +0800
fix RpcContext compatible problem (#4544)
---
dubbo-compatible/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git
a/dubbo-compatible/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java
b/dubbo-compatible/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java
index 5fcf498..db3c7cb 100644
--- a/dubbo-compatible/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java
+++ b/dubbo-compatible/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java
@@ -35,9 +35,7 @@ public class RpcContext extends
org.apache.dubbo.rpc.RpcContext {
RpcContext copy = new RpcContext();
copy.getAttachments().putAll(rpcContext.getAttachments());
copy.get().putAll(rpcContext.get());
- if (rpcContext.getCompletableFuture() != null) {
- copy.setFuture(rpcContext.getCompletableFuture());
- }
+
copy.setUrls(rpcContext.getUrls());
copy.setUrl(rpcContext.getUrl());
copy.setMethodName(rpcContext.getMethodName());