Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace StringBuffer with StringBuilder #236

Merged
merged 2 commits into from
Mar 11, 2025
Merged

Conversation

NicolaIsotta
Copy link
Contributor

@NicolaIsotta NicolaIsotta commented Feb 14, 2025

This also replaces String concatenation inside append methods with chain of append methods.

@NicolaIsotta
Copy link
Contributor Author

Mixing appends with concatenations is not really readable IMHO. Either one or the other.

@NicolaIsotta NicolaIsotta marked this pull request as draft February 20, 2025 16:42
@NicolaIsotta NicolaIsotta changed the title Avoid String concatenation inside StringBuffer.append Replace StringBuffer with StringBuilder Feb 20, 2025
@NicolaIsotta NicolaIsotta marked this pull request as ready for review February 21, 2025 09:38
@jeber-ibm jeber-ibm merged commit a47cee2 into IBM:main Mar 11, 2025
2 checks passed
@NicolaIsotta NicolaIsotta deleted the append branch March 11, 2025 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants