You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2019/09/09 06:47:57 UTC
[dubbo] branch master updated: to meet new onResponse signature:
return directly
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/master by this push:
new 4619aab to meet new onResponse signature: return directly
4619aab is described below
commit 4619aab86910c40d3192fef655972ef40858d136
Author: ken.lj <ke...@gmail.com>
AuthorDate: Mon Sep 9 14:47:42 2019 +0800
to meet new onResponse signature: return directly
---
.../src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java b/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java
index 226b74e..c2d13d6 100644
--- a/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java
+++ b/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java
@@ -192,7 +192,7 @@ public class GenericFilter extends ListenableFilter {
"] serialize result failed.", e);
}
} else if(ProtocolUtils.isGenericReturnRawResult(generic)) {
- return result;
+ return;
} else {
appResponse.setValue(PojoUtils.generalize(appResponse.getValue()));
}