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 2026/08/08 05:30:10 UTC
(shardingsphere) branch master updated: Remove use param of ShardingRuleConfigurationChecker (#39380)
This is an automated email from the ASF dual-hosted git repository.
terrymanu 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 1af81f25e2d Remove use param of ShardingRuleConfigurationChecker (#39380)
1af81f25e2d is described below
commit 1af81f25e2d3e2786452eb20efe62dd40d9c8ec4
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sat Aug 8 13:30:03 2026 +0800
Remove use param of ShardingRuleConfigurationChecker (#39380)
---
.../sharding/checker/config/ShardingRuleConfigurationChecker.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/features/sharding/core/src/main/java/org/apache/shardingsphere/sharding/checker/config/ShardingRuleConfigurationChecker.java b/features/sharding/core/src/main/java/org/apache/shardingsphere/sharding/checker/config/ShardingRuleConfigurationChecker.java
index 01b81fb117d..bc4977cd0fb 100644
--- a/features/sharding/core/src/main/java/org/apache/shardingsphere/sharding/checker/config/ShardingRuleConfigurationChecker.java
+++ b/features/sharding/core/src/main/java/org/apache/shardingsphere/sharding/checker/config/ShardingRuleConfigurationChecker.java
@@ -63,7 +63,7 @@ public final class ShardingRuleConfigurationChecker implements DatabaseRuleConfi
Collection<String> keyGenerators = ruleConfig.getKeyGenerators().keySet();
Collection<String> auditors = ruleConfig.getAuditors().keySet();
Collection<String> shardingAlgorithms = ruleConfig.getShardingAlgorithms().keySet();
- checkTables(databaseName, ruleConfig.getTables(), ruleConfig.getAutoTables(), keyGenerators, auditors, shardingAlgorithms);
+ checkTables(databaseName, ruleConfig.getTables(), ruleConfig.getAutoTables(), auditors, shardingAlgorithms);
checkKeyGenerateStrategy(databaseName, ruleConfig.getDefaultKeyGenerateStrategy(), keyGenerators);
checkKeyGenerateStrategies(databaseName, ruleConfig.getKeyGenerateStrategies().values(), keyGenerators);
checkAuditStrategy(databaseName, ruleConfig.getDefaultAuditStrategy(), auditors);
@@ -79,8 +79,8 @@ public final class ShardingRuleConfigurationChecker implements DatabaseRuleConfi
algorithmConfigs.stream().filter(Objects::nonNull).forEach(each -> TypedSPILoader.checkService(KeyGenerateAlgorithm.class, each.getType(), each.getProps()));
}
- private void checkTables(final String databaseName, final Collection<ShardingTableRuleConfiguration> tables, final Collection<ShardingAutoTableRuleConfiguration> autoTables,
- final Collection<String> keyGenerators, final Collection<String> auditors, final Collection<String> shardingAlgorithms) {
+ private void checkTables(final String databaseName, final Collection<ShardingTableRuleConfiguration> tables,
+ final Collection<ShardingAutoTableRuleConfiguration> autoTables, final Collection<String> auditors, final Collection<String> shardingAlgorithms) {
for (ShardingTableRuleConfiguration each : tables) {
checkLogicTable(databaseName, each.getLogicTable());
checkAuditStrategy(databaseName, each.getAuditStrategy(), auditors);