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

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git


The following commit(s) were added to refs/heads/master by this push:
     new 0cea2ef785 [FIX] Misleeading error log in Host class (#1441)
0cea2ef785 is described below

commit 0cea2ef78525a2bb31d4d118c86d010eea7a5c2f
Author: Benoit TELLIER <[email protected]>
AuthorDate: Tue Feb 14 11:24:03 2023 +0700

    [FIX] Misleeading error log in Host class (#1441)
    
    Should not mention Cassandra
---
 core/src/main/java/org/apache/james/util/Host.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/james/util/Host.java 
b/core/src/main/java/org/apache/james/util/Host.java
index 30e7b005c2..e93b7f9dec 100644
--- a/core/src/main/java/org/apache/james/util/Host.java
+++ b/core/src/main/java/org/apache/james/util/Host.java
@@ -78,7 +78,7 @@ public class Host {
                 .splitToList(ipAndPort);
 
         if (parts.size() < 1 || parts.size() > 2) {
-            throw new IllegalArgumentException(ipAndPort + " is not a valid 
cassandra node");
+            throw new IllegalArgumentException(ipAndPort + " is not a valid 
host string");
         }
         return parts;
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to