GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [java] Rename rule MissingBreakInSwitch to ImplicitSwitchFallThrough · Issue #3361 · pmd/pmd

[java] Rename rule MissingBreakInSwitch to ImplicitSwitchFallThrough #3361

New issue
Copy link
New issue
Copy link
Closed
#3411
Closed
[java] Rename rule MissingBreakInSwitch to ImplicitSwitchFallThrough#3361
#3411
Copy link
Assignees
adangel
Labels
an:enhancementAn improvement on existing features / rulesis:deprecationThe main focus is deprecating public APIs or rules, eg to make them internal, or removing them
Milestone
6.37.0

Description

@adangel
adangel
opened on Jun 25, 2021
Issue body actions

That's problem 2 originally described in #2894:

I think the rule's purpose is to avoid implicit fall through to the next case, as this may be unexpected. However the rule's name
just describes its implementation strategy, and not particularly well, as fallthrough may also be avoided by continue, return and
throw statements (cases that the rule tries to handle as well).

Tasks:

  • Rename the rule to ImplicitSwitchFallThrough
  • Deprecated the old rule name MissingBreakInSwitch

Activity

  1. adangel
    added
    an:enhancementAn improvement on existing features / rules
    is:deprecationThe main focus is deprecating public APIs or rules, eg to make them internal, or removing them
    on Jun 25, 2021
  2. adangel
    added this to the 6.37.0 milestone on Jun 25, 2021
  3. adangel
    self-assigned this
    on Jul 16, 2021
  4. adangel
    added a commit that references this issue on Jul 16, 2021

    [java] Rename rule MissingBreakInSwitch to ImplicitSwitchFallThrough

    This issue will close once commit 7b6dad4 is merged into the 'main' branch.
    7b6dad4
  5. oowekyala
    closed this as completedin 7b6dad4on Jul 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @adangel
    adangel

Labels

an:enhancementAn improvement on existing features / rulesis:deprecationThe main focus is deprecating public APIs or rules, eg to make them internal, or removing them

Type

No type

Projects

No projects

    Milestone

    • 6.37.0

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.