Skip to content

Conversation

@ddongjunn
Copy link

The MustacheResourceTemplateLoader previously defined the template encoding as a String, defaulting to "UTF-8". This change replaces the field with a Charset and initializes it with StandardCharsets.UTF_8.

Using Charset improves type safety and aligns with modern Spring Boot standards, while avoiding implicit charset lookup issues.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 29, 2025
@ddongjunn ddongjunn force-pushed the main branch 2 times, most recently from 5ab83d8 to 9d2039e Compare November 29, 2025 15:35
The MustacheResourceTemplateLoader previously defined the template
encoding as a String, defaulting to "UTF-8". This change replaces the
field with a Charset and initializes it with StandardCharsets.UTF_8.

Using Charset improves type safety and aligns with modern Spring Boot
standards, while avoiding implicit charset lookup issues.

Signed-off-by: djlee <ddongjunn@gmail.com>
This change improves the readability and idiomatic use of Gradle's
`Property<T>` API by replacing an explicit `isPresent()` check with
`map(...).getOrNull()`.

The new version is functionally equivalent but more concise and aligns
with recommended usage patterns in Gradle property handling.

No behavioral changes.

Signed-off-by: djlee <ddongjunn@gmail.com>
@ddongjunn ddongjunn closed this Nov 29, 2025
@philwebb philwebb added status: superseded An issue that has been superseded by another and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: superseded An issue that has been superseded by another

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants