Skip to content

Remove dead andFilters concept from Problems view filter#3861

Draft
vogella wants to merge 1 commit intoeclipse-platform:masterfrom
vogella:remove-dead-andfilters
Draft

Remove dead andFilters concept from Problems view filter#3861
vogella wants to merge 1 commit intoeclipse-platform:masterfrom
vogella:remove-dead-andfilters

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented Apr 3, 2026

The andFilters boolean in FiltersConfigurationDialog was always hardcoded to false — no UI control ever set it to true. This removes the dead AND-filter logic that was never reachable.

Changes

  • Remove andFilters field, getter, and setter from FiltersConfigurationDialog and MarkerContentGenerator
  • Remove TAG_AND persistence (read/write) from MarkerContentGenerator
  • Simplify select() method to always use OR logic (the only active code path)
  • Remove unused getResourcesFiltersAnded() from MarkerResourceUtil
  • Simplify computeResources() to always use OR resource computation
  • Update ExtendedMarkersView.openFiltersDialog() call signature
  • Update MarkerSupportViewTest reflection calls to match new signatures
  • Clean up Javadoc referencing AND filter behavior

Testing

  • Verified compilation succeeds with mvn clean compile -pl :org.eclipse.ui.ide -Pbuild-individual-bundles
  • Since andFilters was always false, this is a pure dead-code removal with no behavioral change

The andFilters boolean was always hardcoded to false with no UI to change
it. This removes the dead AND-filter logic that was never reachable:

- Remove andFilters field, getter, and setter from FiltersConfigurationDialog
  and MarkerContentGenerator
- Remove TAG_AND persistence (read/write) from MarkerContentGenerator
- Simplify select() method to always use OR logic (the only active path)
- Remove unused getResourcesFiltersAnded() from MarkerResourceUtil
- Simplify computeResources() to always use OR resource computation
- Update ExtendedMarkersView.openFiltersDialog() call signature
- Update MarkerSupportViewTest reflection calls to match new signature
- Clean up Javadoc referencing AND filter behavior

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

github-actions bot commented Apr 3, 2026

Test Results

   852 files  ±0     852 suites  ±0   53m 22s ⏱️ - 3m 39s
 7 890 tests ±0   7 647 ✅ ±0  243 💤 ±0  0 ❌ ±0 
20 172 runs  ±0  19 517 ✅ ±0  655 💤 ±0  0 ❌ ±0 

Results for commit cb318ee. ± Comparison against base commit ed75400.

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