using java.lang.String#replace(char, char) method by shenjianeng · Pull Request #36678 · spring-projects/spring-framework · GitHub
Skip to content

using java.lang.String#replace(char, char) method#36678

Open
shenjianeng wants to merge 2 commits intospring-projects:mainfrom
shenjianeng:using-replace
Open

using java.lang.String#replace(char, char) method#36678
shenjianeng wants to merge 2 commits intospring-projects:mainfrom
shenjianeng:using-replace

Conversation

@shenjianeng
Copy link
Copy Markdown

Avoid using String#replaceAll() when the pattern is not a regular expression.

using java.lang.String#replace(char, char) method will improve performance.

Avoid using String#replaceAll() when the pattern is not a regular expression

Signed-off-by: shenjianeng <ishenjianeng@qq.com>
Avoid using String#replaceAll() when the pattern is not a regular expression

Signed-off-by: shenjianeng <ishenjianeng@qq.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged or decided on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants