Skip to content

Replace StringBuffer with StringBuilder in BundleHelper#2271

Merged
laeubi merged 1 commit intoeclipse-pde:masterfrom
laeubi:fix/stringbuffer-to-stringbuilder-bundlehelper
Mar 24, 2026
Merged

Replace StringBuffer with StringBuilder in BundleHelper#2271
laeubi merged 1 commit intoeclipse-pde:masterfrom
laeubi:fix/stringbuffer-to-stringbuilder-bundlehelper

Conversation

@laeubi
Copy link
Contributor

@laeubi laeubi commented Mar 24, 2026

Replace the synchronized StringBuffer with StringBuilder in BundleHelper.getFilter().

The local variable buffer is not shared across threads, so StringBuilder is the appropriate choice and avoids unnecessary synchronization overhead.

The local variable `buffer` in `getFilter()` is not shared
across threads, so StringBuilder is the appropriate choice
and avoids unnecessary synchronization overhead.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link

Test Results

  147 files  ±0    147 suites  ±0   34m 16s ⏱️ - 1m 8s
3 495 tests ±0  3 441 ✅ ±0   54 💤 ±0  0 ❌ ±0 
9 306 runs  ±0  9 176 ✅ ±0  130 💤 ±0  0 ❌ ±0 

Results for commit d0bf7fa. ± Comparison against base commit 86cdd31.

@laeubi laeubi merged commit 95c57fb into eclipse-pde:master Mar 24, 2026
19 checks passed
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.

1 participant