Skip to content

Commit

Permalink
Refactor CaseInsensitiveMap on ShardingSphereMetaData.databases (#31412)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored May 27, 2024
1 parent d0abb75 commit 934df7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public ShardingSphereMetaData() {

public ShardingSphereMetaData(final Map<String, ShardingSphereDatabase> databases, final ResourceMetaData globalResourceMetaData,
final RuleMetaData globalRuleMetaData, final ConfigurationProperties props) {
this.databases = new CaseInsensitiveMap<>(Collections.emptyMap(), new ConcurrentHashMap<>(databases));
this.databases = new CaseInsensitiveMap<>(databases, new ConcurrentHashMap<>());
this.globalResourceMetaData = globalResourceMetaData;
this.globalRuleMetaData = globalRuleMetaData;
this.props = props;
Expand Down

0 comments on commit 934df7a

Please sign in to comment.