Skip to content

Replaced the concatenation as an argument of StringBuilder.append() calls#9847

Merged
davsclaus merged 1 commit intoapache:mainfrom
dk2k:dk2k_chain_append_calls_components
Apr 12, 2023
Merged

Replaced the concatenation as an argument of StringBuilder.append() calls#9847
davsclaus merged 1 commit intoapache:mainfrom
dk2k:dk2k_chain_append_calls_components

Conversation

@dk2k
Copy link
Contributor

@dk2k dk2k commented Apr 11, 2023

Replaced the concatenation as an argument of StringBuilder.append() call with the chain of StringBuilder.append() calls. Converted single char strings to chars. PR for components

Under the hood each string concatenation is translated to a temporary StringBuilder and for the result its toString() value is assigned. We can avoid these temp StringBuilders.

…all with the chain of StringBuilder.append() calls. Converted single char strings to chars. PR for core
@github-actions
Copy link
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟

⚠️ Please note that the changes on this PR may be tested automatically.

If necessary Apache Camel Committers may access logs and test results in the job summaries!

@github-actions
Copy link
Contributor

Components tested:

Total Tested Failed ❌ Passed ✅
10 10 0 10

@davsclaus davsclaus merged commit 7f07e3f into apache:main Apr 12, 2023
@dk2k dk2k deleted the dk2k_chain_append_calls_components branch May 2, 2023 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants