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

zhangliang 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 ea4a4d09375 Remove 
MySQLSQLFederationConnectionConfigBuilder.isDefault() (#37323)
ea4a4d09375 is described below

commit ea4a4d09375558fbaf26fb9fc533d25131766034
Author: Liang Zhang <[email protected]>
AuthorDate: Wed Dec 10 11:24:04 2025 +0800

    Remove MySQLSQLFederationConnectionConfigBuilder.isDefault() (#37323)
---
 .../mysql/MySQLSQLFederationConnectionConfigBuilder.java             | 5 -----
 .../mysql/MySQLSQLFederationConnectionConfigBuilderTest.java         | 2 --
 2 files changed, 7 deletions(-)

diff --git 
a/kernel/sql-federation/dialect/mysql/src/main/java/org/apache/shardingsphere/sqlfederation/mysql/MySQLSQLFederationConnectionConfigBuilder.java
 
b/kernel/sql-federation/dialect/mysql/src/main/java/org/apache/shardingsphere/sqlfederation/mysql/MySQLSQLFederationConnectionConfigBuilder.java
index 0ab97ff2839..80d51e3b0f1 100644
--- 
a/kernel/sql-federation/dialect/mysql/src/main/java/org/apache/shardingsphere/sqlfederation/mysql/MySQLSQLFederationConnectionConfigBuilder.java
+++ 
b/kernel/sql-federation/dialect/mysql/src/main/java/org/apache/shardingsphere/sqlfederation/mysql/MySQLSQLFederationConnectionConfigBuilder.java
@@ -48,9 +48,4 @@ public final class MySQLSQLFederationConnectionConfigBuilder 
implements DialectS
     public String getDatabaseType() {
         return "MySQL";
     }
-    
-    @Override
-    public boolean isDefault() {
-        return true;
-    }
 }
diff --git 
a/kernel/sql-federation/dialect/mysql/src/test/java/org/apache/shardingsphere/sqlfederation/mysql/MySQLSQLFederationConnectionConfigBuilderTest.java
 
b/kernel/sql-federation/dialect/mysql/src/test/java/org/apache/shardingsphere/sqlfederation/mysql/MySQLSQLFederationConnectionConfigBuilderTest.java
index b314af1e13f..5c14831a4bd 100644
--- 
a/kernel/sql-federation/dialect/mysql/src/test/java/org/apache/shardingsphere/sqlfederation/mysql/MySQLSQLFederationConnectionConfigBuilderTest.java
+++ 
b/kernel/sql-federation/dialect/mysql/src/test/java/org/apache/shardingsphere/sqlfederation/mysql/MySQLSQLFederationConnectionConfigBuilderTest.java
@@ -31,7 +31,6 @@ import org.junit.jupiter.api.Test;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
-import static org.junit.jupiter.api.Assertions.assertTrue;
 
 class MySQLSQLFederationConnectionConfigBuilderTest {
     
@@ -47,6 +46,5 @@ class MySQLSQLFederationConnectionConfigBuilderTest {
         assertNotNull(actualConfig.fun(SqlOperatorTable.class, null));
         assertThat(actualConfig.caseSensitive(), is(Lex.MYSQL.caseSensitive));
         assertThat(actualConfig.defaultNullCollation(), is(NullCollation.LOW));
-        assertTrue(builder.isDefault());
     }
 }

Reply via email to