You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by il...@apache.org on 2021/01/15 03:55:25 UTC

[dubbo-website] branch master updated: fix XxxInvoker implement error (#702)

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

iluo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new e571860  fix XxxInvoker implement error (#702)
e571860 is described below

commit e57186038621f2135476235ade82ea76be8dc069
Author: alan <al...@gmail.com>
AuthorDate: Fri Jan 15 11:55:16 2021 +0800

    fix XxxInvoker implement error (#702)
    
    * Update protocol.md
    
    fix XxxInvoker implement error
    
    * Update protocol.md
    
    fix XxxInvoker implement error
---
 content/en/docs/v2.7/dev/impls/protocol.md | 4 +++-
 content/zh/docs/v2.7/dev/impls/protocol.md | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/content/en/docs/v2.7/dev/impls/protocol.md b/content/en/docs/v2.7/dev/impls/protocol.md
index 6dd7d0f..5dc9bab 100644
--- a/content/en/docs/v2.7/dev/impls/protocol.md
+++ b/content/en/docs/v2.7/dev/impls/protocol.md
@@ -142,7 +142,9 @@ public class XxxInvoker<T> extends AbstractInvoker<T> {
     public XxxInvoker(Class<T> type, URL url) throws RemotingException{
         super(type, url);
     }
-    protected abstract Object doInvoke(Invocation invocation) throws Throwable {
+    
+    @Override
+    protected Result doInvoke(Invocation invocation) throws Throwable {
         // ...
     }
 }
diff --git a/content/zh/docs/v2.7/dev/impls/protocol.md b/content/zh/docs/v2.7/dev/impls/protocol.md
index e8eb1d5..c97f93d 100644
--- a/content/zh/docs/v2.7/dev/impls/protocol.md
+++ b/content/zh/docs/v2.7/dev/impls/protocol.md
@@ -142,7 +142,9 @@ public class XxxInvoker<T> extends AbstractInvoker<T> {
     public XxxInvoker(Class<T> type, URL url) throws RemotingException{
         super(type, url);
     }
-    protected abstract Object doInvoke(Invocation invocation) throws Throwable {
+    
+    @Override
+    protected Result doInvoke(Invocation invocation) throws Throwable {
         // ...
     }
 }