diff --git a/java/java-impl/src/inspectionDescriptions/RedundantLabeledSwitchRuleCodeBlock.html b/java/java-impl/src/inspectionDescriptions/RedundantLabeledSwitchRuleCodeBlock.html index d7efa0bd9792..e722f60ffe4a 100644 --- a/java/java-impl/src/inspectionDescriptions/RedundantLabeledSwitchRuleCodeBlock.html +++ b/java/java-impl/src/inspectionDescriptions/RedundantLabeledSwitchRuleCodeBlock.html @@ -1,6 +1,7 @@ -Reports rules of switch expression or enhanced switch statement which have redundant code block. +Reports rules of switch expression or enhanced switch statement which have redundant code block.
+Available if the language level is at least Java 12 Preview

New in 2019.1

diff --git a/platform/platform-resources-en/src/messages/InspectionsBundle.properties b/platform/platform-resources-en/src/messages/InspectionsBundle.properties index 1349721d5b03..c83ca9a9a8da 100644 --- a/platform/platform-resources-en/src/messages/InspectionsBundle.properties +++ b/platform/platform-resources-en/src/messages/InspectionsBundle.properties @@ -1043,6 +1043,6 @@ inspection.switch.labeled.rule.can.be.code.block.statement.message=Labeled rule' inspection.switch.labeled.rule.can.be.code.block.fix.expression.name=Wrap labeled rule's result with code block inspection.switch.labeled.rule.can.be.code.block.fix.statement.name=Wrap labeled rule's statement with code block -inspection.labeled.switch.rule.redundant.code.block.display.name=Labeled switch rule can have code block +inspection.labeled.switch.rule.redundant.code.block.display.name=Labeled switch rule has redundant code block inspection.labeled.switch.rule.redundant.code.block.message=Labeled rule's code block is redundant inspection.labeled.switch.rule.redundant.code.fix.name=Unwrap code block of labeled rule \ No newline at end of file