Skip to content

Fix #5793: [java] NonExhaustiveSwitch should ignore "case null" - #5800

Merged
adangel merged 2 commits into
pmd:mainfrom
adangel:java/issue-5793-NonExhaustiveSwitch
Jun 20, 2025
Merged

adangel merged 2 commits into
pmd:mainfrom
adangel:java/issue-5793-NonExhaustiveSwitch

Conversation

@adangel

@adangel adangel commented Jun 6, 2025

Copy link
Copy Markdown
Member

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@adangel adangel added this to the 7.15.0 milestone Jun 6, 2025
@github-actions

github-actions Bot commented Jun 6, 2025

Copy link
Copy Markdown

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 3 violations, 25 errors and 8 configuration errors.

Regression Tester Report

(comment created at 2025-06-06 08:55:29+00:00 for 22df6f5)

@adangel
adangel merged commit 82aaa8f into pmd:main Jun 20, 2025
@adangel
adangel deleted the java/issue-5793-NonExhaustiveSwitch branch June 20, 2025 19:05
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.

[java] NonExhaustiveSwitch fails on exhaustive switch with sealed class

1 participant