Skip to content

Commit

Permalink
Remove unnecessary toLowercase when using CaseInsensitiveMap (#33336)
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingZC authored Oct 21, 2024
1 parent f205426 commit 6d9e75a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private Map<String, String> getLogicAndActualTables(final RouteUnit routeUnit) {
}
Map<String, String> result = new CaseInsensitiveMap<>();
for (RouteMapper each : routeUnit.getTableMappers()) {
result.put(each.getLogicName().toLowerCase(), each.getActualName());
result.put(each.getLogicName(), each.getActualName());
}
return result;
}
Expand Down

0 comments on commit 6d9e75a

Please sign in to comment.