You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2025/08/14 09:04:52 UTC
(shardingsphere) branch master updated: Remove useless @SingletonSPI on SupportedSQLChecker (#36302)
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 3f328c19d6d Remove useless @SingletonSPI on SupportedSQLChecker (#36302)
3f328c19d6d is described below
commit 3f328c19d6da8e746c83c1477813208c51dc7d11
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Thu Aug 14 17:04:46 2025 +0800
Remove useless @SingletonSPI on SupportedSQLChecker (#36302)
---
.../org/apache/shardingsphere/infra/checker/SupportedSQLChecker.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/infra/checker/src/main/java/org/apache/shardingsphere/infra/checker/SupportedSQLChecker.java b/infra/checker/src/main/java/org/apache/shardingsphere/infra/checker/SupportedSQLChecker.java
index f63f554ca14..7ae18521a75 100644
--- a/infra/checker/src/main/java/org/apache/shardingsphere/infra/checker/SupportedSQLChecker.java
+++ b/infra/checker/src/main/java/org/apache/shardingsphere/infra/checker/SupportedSQLChecker.java
@@ -21,7 +21,6 @@ import org.apache.shardingsphere.infra.binder.context.statement.SQLStatementCont
import org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase;
import org.apache.shardingsphere.infra.metadata.database.schema.model.ShardingSphereSchema;
import org.apache.shardingsphere.infra.rule.ShardingSphereRule;
-import org.apache.shardingsphere.infra.spi.annotation.SingletonSPI;
/**
* Supported SQL checker.
@@ -29,7 +28,6 @@ import org.apache.shardingsphere.infra.spi.annotation.SingletonSPI;
* @param <T> type of SQL statement context
* @param <R> type of ShardingSphere rule
*/
-@SingletonSPI
public interface SupportedSQLChecker<T extends SQLStatementContext, R extends ShardingSphereRule> {
/**