<BUG>return new ShardingRule(dataSourceRule, tableRules, buildBindingTableRules(tableRules),buildShardingStrategy(shardingRuleConfig.getDefaultDatabaseStrategy(), DatabaseShardingStrategy.class),buildShardingStrategy(shardingRuleConfig.getDefaultTableStrategy(), TableShardingStrategy.class));</BUG><CONTEXT>this(logRoot, Collections.<String, DataSource>emptyMap(), shardingRuleConfig);}public ShardingRule build() {DataSourceRule dataSourceRule = buildDataSourceRule();Collection<TableRule> tableRules = buildTableRules(dataSourceRule);<extra_id_0>}</CONTEXT>
return ShardingRule.builder().dataSourceRule(dataSourceRule).tableRules(tableRules).bindingTableRules(buildBindingTableRules(tableRules)).databaseShardingStrategy(buildShardingStrategy(shardingRuleConfig.getDefaultDatabaseStrategy(), DatabaseShardingStrategy.class)).tableShardingStrategy(buildShardingStrategy(shardingRuleConfig.getDefaultTableStrategy(), TableShardingStrategy.class)).build();