Skip to content

Commit

Permalink
Code format for MetaDataContextsFactory (#31922)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Jun 29, 2024
1 parent 1da02af commit 98a1497
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ private static void useLoadedToReplaceInitBySchemaData(final ShardingSphereSchem
}

private static void persistDatabaseConfigurations(final MetaDataContexts metadataContexts, final ContextManagerBuilderParameter param, final MetaDataPersistService persistService) {
persistService.persistGlobalRuleConfiguration(param.getGlobalRuleConfigs(), param.getProps());
Collection<RuleConfiguration> globalRuleConfigs = param.getGlobalRuleConfigs();
persistService.persistGlobalRuleConfiguration(globalRuleConfigs, param.getProps());
for (Entry<String, ? extends DatabaseConfiguration> entry : param.getDatabaseConfigs().entrySet()) {
String databaseName = entry.getKey();
persistService.persistConfigurations(entry.getKey(), entry.getValue(),
Expand Down

0 comments on commit 98a1497

Please sign in to comment.