Skip to content

Remove dead commented-out code in DiscoveryInstallOperation#1071

Open
vogella wants to merge 1 commit into
eclipse-equinox:masterfrom
vogella:remove-dead-code-discovery-install
Open

Remove dead commented-out code in DiscoveryInstallOperation#1071
vogella wants to merge 1 commit into
eclipse-equinox:masterfrom
vogella:remove-dead-code-discovery-install

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented May 14, 2026

Two blocks of commented-out code in DiscoveryInstallOperation have been dead since July 2019 (commit 1139fc5, "Convert to the generic IProvisioningAgent.getService()"). One block sits after a return statement and can never execute; the other is an old ProvisioningUtil call that was superseded by RepositoryTracker. Both are pure clutter with no chance of being re-enabled as-is.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 14, 2026

Test Results

   18 files  ±0     18 suites  ±0   29m 20s ⏱️ +38s
2 169 tests ±0  2 166 ✅ ±0  3 💤 ±0  0 ❌ ±0 
5 161 runs  ±0  5 152 ✅ ±0  9 💤 ±0  0 ❌ ±0 

Results for commit ce80507. ± Comparison against base commit e3b8d67.

♻️ This comment has been updated with latest results.

The two commented-out blocks have been unreachable since 2019 (commit
1139fc5). One block sits after a return statement; the other is an
old ProvisioningUtil call replaced by RepositoryTracker. Both are safe
to delete.
@vogella vogella force-pushed the remove-dead-code-discovery-install branch from 48fd0b3 to ce80507 Compare May 21, 2026 12:06
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