Skip to content

Commit

Permalink
fix template cache (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
thmarx authored Jan 31, 2025
1 parent dc61237 commit 52ebb4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public boolean hasFilters () {
}

public TemplateConfiguration setCache (ICache<String, Template> cache) {
if (templateCache != null) {
if (templateCache == null) {
templateCache = new TemplateCache(cache);
}
return this;
Expand Down

0 comments on commit 52ebb4f

Please sign in to comment.