From a4febd72d64ce5c69318255789e11c16caac88e7 Mon Sep 17 00:00:00 2001 From: xiuyuhang <442367943@qq.com> Date: Thu, 20 Dec 2018 17:18:24 +0800 Subject: [PATCH] Fix doc refresh -> override --- .../java/org/apache/dubbo/rpc/protocol/AbstractInvoker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/AbstractInvoker.java b/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/AbstractInvoker.java index 3d3c374a0071..887d0d278dd6 100644 --- a/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/AbstractInvoker.java +++ b/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/AbstractInvoker.java @@ -149,9 +149,9 @@ public Result invoke(Invocation inv) throws RpcException { } RpcUtils.attachInvocationIdIfAsync(getUrl(), invocation); - // If we have attachment, refresh the attachment to ensure that the last invoke's attach does not affect this call. + // If we have attachment, override the attachment to ensure that the last invoke's attach does not affect this call. // In most cases, attachments contains interface, timeout, group, and token. - // These info should be refreshed in each invoke. + // These info should be override in each invoke. // // See https://github.com/apache/incubator-dubbo/issues/2981 if (attachment != null && attachment.size() > 0) {