You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by li...@apache.org on 2019/03/21 07:39:04 UTC

[incubator-dubbo-samples] branch 3.x updated: Fix compile error

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

liujun pushed a commit to branch 3.x
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-samples.git


The following commit(s) were added to refs/heads/3.x by this push:
     new 3f60436  Fix compile error
3f60436 is described below

commit 3f6043627411a5e7b94f3110be23820b40515914
Author: ken.lj <ke...@gmail.com>
AuthorDate: Thu Mar 21 15:38:53 2019 +0800

    Fix compile error
---
 .../apache/dubbo/samples/governance/filter/AsyncPostprocessFilter.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dubbo-samples-async/dubbo-samples-async-original-future/src/main/java/org/apache/dubbo/samples/governance/filter/AsyncPostprocessFilter.java b/dubbo-samples-async/dubbo-samples-async-original-future/src/main/java/org/apache/dubbo/samples/governance/filter/AsyncPostprocessFilter.java
index d89a39c..8dc8522 100644
--- a/dubbo-samples-async/dubbo-samples-async-original-future/src/main/java/org/apache/dubbo/samples/governance/filter/AsyncPostprocessFilter.java
+++ b/dubbo-samples-async/dubbo-samples-async-original-future/src/main/java/org/apache/dubbo/samples/governance/filter/AsyncPostprocessFilter.java
@@ -35,9 +35,8 @@ public class AsyncPostprocessFilter implements Filter {
     }
 
     @Override
-    public Result onResponse(Result result, Invoker<?> invoker, Invocation invocation) {
+    public void onResponse(Result result, Invoker<?> invoker, Invocation invocation) {
         System.out.println("AsyncPostprocessFilter: Filter get the return value: " + result.getValue());
-        return result;
     }
 
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org