Skip to content

Commit

Permalink
fix: Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
larshelge committed Oct 30, 2024
1 parent d7d7d8f commit 383e420
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -716,9 +716,7 @@ protected String qualify(String name) {
*/
protected String replaceQualify(String template, Map<String, String> variables) {
Map<String, String> map = new HashMap<>(variables);

Set<String> variableNames = TextUtils.getVariableNames(template);

variableNames.forEach(name -> map.putIfAbsent(name, qualify(name)));

return TextUtils.replace(template, map);
Expand Down

0 comments on commit 383e420

Please sign in to comment.