Skip to content

Commit c60a823

Browse files
committed
correct typo
1 parent e3c0b0d commit c60a823

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dubbo-rpc/dubbo-rpc-memcached/src/main/java/com/alibaba/dubbo/rpc/protocol/memcached/MemcachedProtocol.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected Result doInvoke(Invocation invocation) throws Throwable {
9191
throw new UnsupportedOperationException("Unsupported method " + invocation.getMethodName() + " in memcached service.");
9292
}
9393
} catch (Throwable t) {
94-
RpcException re = new RpcException("Failed to invoke memecached service method. interface: " + type.getName() + ", method: " + invocation.getMethodName() + ", url: " + url + ", cause: " + t.getMessage(), t);
94+
RpcException re = new RpcException("Failed to invoke memcached service method. interface: " + type.getName() + ", method: " + invocation.getMethodName() + ", url: " + url + ", cause: " + t.getMessage(), t);
9595
if (t instanceof TimeoutException || t instanceof SocketTimeoutException) {
9696
re.setCode(RpcException.TIMEOUT_EXCEPTION);
9797
} else if (t instanceof MemcachedException || t instanceof IOException) {
@@ -110,7 +110,7 @@ public void destroy() {
110110
}
111111
};
112112
} catch (Throwable t) {
113-
throw new RpcException("Failed to refer memecached service. interface: " + type.getName() + ", url: " + url + ", cause: " + t.getMessage(), t);
113+
throw new RpcException("Failed to refer memcached service. interface: " + type.getName() + ", url: " + url + ", cause: " + t.getMessage(), t);
114114
}
115115
}
116116

0 commit comments

Comments
 (0)