Skip to content

Conversation

minwoo1999
Copy link
Contributor

In the format method of SimpleFormatter, I noticed that the source variable and record.getLoggerName() are used interchangeably, even though they represent the exact same value. Since the result of getLoggerName() is already stored in the source variable, it makes sense to reuse it rather than calling the method again. This change simplifies the code, avoids redundancy, and makes it more consistent and easier to read.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 30, 2024
@minwoo1999 minwoo1999 closed this Dec 30, 2024
@bclozel bclozel added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: declined A suggestion or change that we don't feel we should currently apply

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants