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 <[email protected]>
AuthorDate: Wed Jun 22 16:55:41 2022 +0800
fix #10171, Code optimization (#10190)
Co-authored-by: 呈铭 <[email protected]>
---
.../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;
}