Labeled switch rule has redundant code block
Reports labeled rules of
switch statements or
switch expressions that have a redundant code block.
After the quick-fix is applied:
This inspection only reports if the language level of the project or module is 14 or higher.
New in 2019.1
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3