[java-highlighting] Migrate checkRedundantDefaultBranch

Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)

GitOrigin-RevId: 8bf45e8e4e26a2766c9755a90dfba6d6cc94e198
This commit is contained in:
Tagir Valeev
2025-02-27 16:13:31 +00:00
committed by intellij-monorepo-bot
parent b3b3fcf587
commit fc6de8a515
7 changed files with 46 additions and 66 deletions
@@ -37,9 +37,6 @@ variable.already.defined=Variable ''{0}'' is already defined in the scope
# suppress inspection "UnusedProperty"
incompatible.types=Incompatible types. Found: ''{1}'', required: ''{0}''
switch.dominance.of.preceding.label=Label is dominated by a preceding case label ''{0}''
switch.unconditional.pattern.and.default.exist='switch' has both an unconditional pattern and a default label
switch.unconditional.boolean.and.default.exist='switch' has all boolean values and a default label
switch.unconditional.boolean.and.unconditional.exist='switch' has all boolean values and an unconditional pattern
expression.expected=Expression expected
qualified.enum.constant.in.switch.remove.fix=Remove qualifier
deconstruction.pattern.requires.record=Deconstruction pattern can only be applied to a record, ''{0}'' is not a record