You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2023/05/16 09:29:09 UTC
[shardingsphere] branch master updated: Fix sonar issues of CommonSQLStatementContext (#25701)
This is an automated email from the ASF dual-hosted git repository.
panjuan 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 56dc1764f78 Fix sonar issues of CommonSQLStatementContext (#25701)
56dc1764f78 is described below
commit 56dc1764f78a21c5a5e9537ab7a38fc93e12b4b4
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Tue May 16 17:29:00 2023 +0800
Fix sonar issues of CommonSQLStatementContext (#25701)
---
.../infra/binder/statement/CommonSQLStatementContext.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/infra/binder/src/main/java/org/apache/shardingsphere/infra/binder/statement/CommonSQLStatementContext.java b/infra/binder/src/main/java/org/apache/shardingsphere/infra/binder/statement/CommonSQLStatementContext.java
index c8cc9b13677..8a17de2000e 100644
--- a/infra/binder/src/main/java/org/apache/shardingsphere/infra/binder/statement/CommonSQLStatementContext.java
+++ b/infra/binder/src/main/java/org/apache/shardingsphere/infra/binder/statement/CommonSQLStatementContext.java
@@ -48,7 +48,7 @@ public abstract class CommonSQLStatementContext implements SQLStatementContext {
private final SQLHintExtractor sqlHintExtractor;
- public CommonSQLStatementContext(final SQLStatement sqlStatement) {
+ protected CommonSQLStatementContext(final SQLStatement sqlStatement) {
this.sqlStatement = sqlStatement;
databaseType = getDatabaseType(sqlStatement);
tablesContext = new TablesContext(Collections.emptyList(), databaseType);