You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ho...@apache.org on 2021/08/24 12:57:09 UTC

[dubbo] branch 3.0 updated: Update AbstractClient.java (#8591)

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

horizonzy pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.0 by this push:
     new 5be7566  Update AbstractClient.java (#8591)
5be7566 is described below

commit 5be7566b5209db848c7a56e8aa297806b25bf58d
Author: Chuanyi <ch...@protonmail.com>
AuthorDate: Tue Aug 24 20:56:57 2021 +0800

    Update AbstractClient.java (#8591)
---
 .../java/org/apache/dubbo/remoting/transport/AbstractClient.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/AbstractClient.java b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/AbstractClient.java
index bd8c0e9..db4f2ba 100644
--- a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/AbstractClient.java
+++ b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/AbstractClient.java
@@ -197,13 +197,13 @@ public abstract class AbstractClient extends AbstractEndpoint implements Client
             doConnect();
 
             if (!isConnected()) {
-                throw new RemotingException(this, "Failed connect to server " + getRemoteAddress() + " from " + getClass().getSimpleName() + " "
+                throw new RemotingException(this, "Failed to connect to server " + getRemoteAddress() + " from " + getClass().getSimpleName() + " "
                                 + NetUtils.getLocalHost() + " using dubbo version " + Version.getVersion()
                                 + ", cause: Connect wait timeout: " + getConnectTimeout() + "ms.");
 
             } else {
                 if (logger.isInfoEnabled()) {
-                    logger.info("Successed connect to server " + getRemoteAddress() + " from " + getClass().getSimpleName() + " "
+                    logger.info("Successfully connect to server " + getRemoteAddress() + " from " + getClass().getSimpleName() + " "
                                     + NetUtils.getLocalHost() + " using dubbo version " + Version.getVersion()
                                     + ", channel is " + this.getChannel());
                 }
@@ -213,7 +213,7 @@ public abstract class AbstractClient extends AbstractEndpoint implements Client
             throw e;
 
         } catch (Throwable e) {
-            throw new RemotingException(this, "Failed connect to server " + getRemoteAddress() + " from " + getClass().getSimpleName() + " "
+            throw new RemotingException(this, "Failed to connect to server " + getRemoteAddress() + " from " + getClass().getSimpleName() + " "
                             + NetUtils.getLocalHost() + " using dubbo version " + Version.getVersion()
                             + ", cause: " + e.getMessage(), e);