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

sunnianjun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 95c041da080 Refactor UnregisteredAlgorithmException (#30771)
95c041da080 is described below

commit 95c041da08024fecc602cee4cbc1ad3047f1ec35
Author: Liang Zhang <zhangli...@apache.org>
AuthorDate: Thu Apr 4 19:45:03 2024 +0800

    Refactor UnregisteredAlgorithmException (#30771)
---
 .../algorithm/core/exception/type/UnregisteredAlgorithmException.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/infra/algorithm/core/src/main/java/org/apache/shardingsphere/infra/algorithm/core/exception/type/UnregisteredAlgorithmException.java
 
b/infra/algorithm/core/src/main/java/org/apache/shardingsphere/infra/algorithm/core/exception/type/UnregisteredAlgorithmException.java
index f1528a775c1..40e463f639f 100644
--- 
a/infra/algorithm/core/src/main/java/org/apache/shardingsphere/infra/algorithm/core/exception/type/UnregisteredAlgorithmException.java
+++ 
b/infra/algorithm/core/src/main/java/org/apache/shardingsphere/infra/algorithm/core/exception/type/UnregisteredAlgorithmException.java
@@ -35,6 +35,6 @@ public final class UnregisteredAlgorithmException extends 
AlgorithmDefinitionExc
     }
     
     public UnregisteredAlgorithmException(final String algorithmType, final 
Collection<String> algorithmNames, final SQLExceptionIdentifier 
sqlExceptionIdentifier) {
-        super(XOpenSQLState.NOT_FOUND, 2, "'%s' algorithm '%s' on %s are 
unregistered.", algorithmType, String.join(", ", algorithmNames), 
sqlExceptionIdentifier);
+        super(XOpenSQLState.NOT_FOUND, 2, "'%s' algorithm '%s' on %s are 
unregistered.", algorithmType, algorithmNames, sqlExceptionIdentifier);
     }
 }

Reply via email to