mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 20:19:06 +00:00
Improve null-safety of module/spring-boot-mustache
See gh-46926
This commit is contained in:
+2
-2
@@ -195,13 +195,13 @@ public class MustacheProperties {
|
||||
*/
|
||||
private boolean exposeSpringMacroHelpers = true;
|
||||
|
||||
private final Supplier<Charset> charset;
|
||||
private final Supplier<@Nullable Charset> charset;
|
||||
|
||||
public Servlet() {
|
||||
this.charset = () -> null;
|
||||
}
|
||||
|
||||
private Servlet(Supplier<Charset> charset) {
|
||||
private Servlet(Supplier<@Nullable Charset> charset) {
|
||||
this.charset = charset;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user