Skip to content

[java] Rename rule SwitchStmtsShouldHaveDefault to NonExhaustiveSwitch#5267

Merged
adangel merged 1 commit into
pmd:mainfrom
adangel:issue-4286
Oct 24, 2024
Merged

[java] Rename rule SwitchStmtsShouldHaveDefault to NonExhaustiveSwitch#5267
adangel merged 1 commit into
pmd:mainfrom
adangel:issue-4286

Conversation

@adangel

@adangel adangel commented Oct 8, 2024

Copy link
Copy Markdown
Member

Describe the PR

I've decided to also get rid of "Statement", as this rule also applies for expressions.

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.7.0 milestone Oct 8, 2024
@ghost

ghost commented Oct 8, 2024

Copy link
Copy Markdown
1 Message
📖 Compared to main:
This changeset changes 0 violations,
introduces 510 new violations, 0 new errors and 0 new configuration errors,
removes 510 violations, 0 errors and 0 configuration errors.
Download full report as build artifact

Generated by 🚫 Danger

@adangel adangel merged commit 07840ca into pmd:main Oct 24, 2024
adangel added a commit to adangel/pmd that referenced this pull request Oct 24, 2024
adangel added a commit to adangel/pmd that referenced this pull request Oct 24, 2024
@adangel adangel deleted the issue-4286 branch October 24, 2024 13:02
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] Rename rule SwitchStmtsShouldHaveDefault to NonExhaustiveSwitch

1 participant