Browse Source
Add setCharset(Charset) overload to MustacheResourceTemplateLoader while keeping setCharset(String) for backward compatibility. The String-based method is deprecated in favor of the Charset variant. Also deprecate MustacheProperties.getCharsetName() as it's primarily used with the deprecated setCharset(String) method. This change maintains backward compatibility while providing a more type-safe API that aligns with modern Java standards. See gh-48347 Signed-off-by: djlee <ddongjunn@gmail.com>pull/48347/head
2 changed files with 17 additions and 0 deletions
Loading…
Reference in new issue