You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2022/06/22 08:55:48 UTC

[dubbo] branch 3.0 updated: fix #10171, Code optimization (#10190)

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

albumenj pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.0 by this push:
     new 7a33ddf93c fix #10171, Code optimization (#10190)
7a33ddf93c is described below

commit 7a33ddf93c43f9de8e45e7bc80a22a04beecf654
Author: Wang Chengming <63...@qq.com>
AuthorDate: Wed Jun 22 16:55:41 2022 +0800

    fix #10171, Code optimization (#10190)
    
    Co-authored-by: 呈铭 <be...@antgroup.com>
---
 .../dubbo/rpc/protocol/tri/call/ReflectionAbstractServerCall.java      | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/call/ReflectionAbstractServerCall.java b/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/call/ReflectionAbstractServerCall.java
index 229835f463..e1b74f881e 100644
--- a/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/call/ReflectionAbstractServerCall.java
+++ b/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/call/ReflectionAbstractServerCall.java
@@ -44,7 +44,6 @@ public class ReflectionAbstractServerCall extends AbstractServerCall {
 
     private final List<HeaderFilter> headerFilters;
     private List<MethodDescriptor> methodDescriptors;
-    private RpcInvocation invocation;
 
     public ReflectionAbstractServerCall(Invoker<?> invoker,
         ServerStream serverStream,
@@ -136,7 +135,7 @@ public class ReflectionAbstractServerCall extends AbstractServerCall {
         if (isClosed()) {
             return;
         }
-        invocation = buildInvocation(methodDescriptor);
+        RpcInvocation invocation = buildInvocation(methodDescriptor);
         if (isClosed()) {
             return;
         }