Skip to content

Drop unused PropertyHelper and its self-test#4049

Merged
akurtakov merged 1 commit into
eclipse-platform:masterfrom
vogella:css-drop-propertyhelper
Jun 2, 2026
Merged

Drop unused PropertyHelper and its self-test#4049
akurtakov merged 1 commit into
eclipse-platform:masterfrom
vogella:css-drop-propertyhelper

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented Jun 1, 2026

PropertyHelper (org.eclipse.e4.ui.css.swt.helpers) provided a reflective bean-property reader built on java.beans.Introspector. It was added in 2010 (bug 315649) to drop the commons-beanutils dependency, with SWTElement as its only caller. Bug 268249 deleted that SWTElement later the same month, and nothing has referenced the helper since, so it has been dead code for roughly 16 years. Its only remaining consumer was TestPropertyHelper, a unit test exercising the helper against itself.

This removes both the helper and the orphaned test. Pure deletion, no API surface change (bundle is x-friends only).

Contributes to #3980

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Test Results

   861 files  +   19     861 suites  +19   52m 12s ⏱️ + 21m 22s
 8 016 tests  -     3   7 773 ✅  -     3  243 💤 ±  0  0 ❌ ±0 
20 487 runs  +2 170  19 832 ✅ +2 007  655 💤 +163  0 ❌ ±0 

Results for commit b815b58. ± Comparison against base commit bd473bb.

This pull request removes 3 tests.
org.eclipse.e4.ui.tests.css.swt.TestPropertyHelper ‑ testNestedProperty
org.eclipse.e4.ui.tests.css.swt.TestPropertyHelper ‑ testReadOnlyProperty
org.eclipse.e4.ui.tests.css.swt.TestPropertyHelper ‑ testReadWriteProperty

♻️ This comment has been updated with latest results.

PropertyHelper provided a reflective bean-property reader using
java.beans.Introspector. Nothing in the platform tree calls it; its
only consumer was TestPropertyHelper, a unit test that exercised the
helper itself. Delete the helper and the orphaned test in one pass.

Contributes to eclipse-platform#3980
@vogella vogella force-pushed the css-drop-propertyhelper branch from cfa039f to b815b58 Compare June 2, 2026 04:56
@akurtakov akurtakov merged commit 942953b into eclipse-platform:master Jun 2, 2026
18 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.

2 participants