Skip to content

Issue #335: Checks under neverSuppressedChecks group should give more…#381

Open
Brijeshthummar02 wants to merge 1 commit intocheckstyle:masterfrom
Brijeshthummar02:neversuppressedchecks
Open

Issue #335: Checks under neverSuppressedChecks group should give more…#381
Brijeshthummar02 wants to merge 1 commit intocheckstyle:masterfrom
Brijeshthummar02:neversuppressedchecks

Conversation

@Brijeshthummar02
Copy link
Copy Markdown

Issue #335

Refines neverSuppressedChecks handling so violations are more precisely tied to patch-caused changes instead of always showing all violations in touched files.

Changes

  • Updated SuppressionPatchFilterElement to use causality-aware matching for never-suppressed checks.
  • Added strategy-aware behavior (legacy behavior preserved for newline where causal attribution is ambiguous).
  • Added precise handling for:
    • UniqueProperties (non-newline)
    • RegexpMultiline (non-newline)
  • Updated JavaPatchFilterElement to make CovariantEquals more precise under non-newline strategies.
  • Passed strategy into SuppressionPatchFilterElement from SuppressionPatchFilter.
  • Updated expected outputs for CovariantEquals patchedline tests.

@Brijeshthummar02
Copy link
Copy Markdown
Author

@romani need your review on this.

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