Java: Added the line about Java version in the inspection description, fixed the inspection's title (IDEA-202623)

This commit is contained in:
Pavel Dolgov
2018-11-29 12:59:18 +03:00
parent b2ab5ef8ad
commit 885d75b3e8
2 changed files with 3 additions and 2 deletions
@@ -1,6 +1,7 @@
<html>
<body>
Reports rules of <code>switch</code> expression or enhanced <code>switch</code> statement which have redundant code block.
Reports rules of <code>switch</code> expression or enhanced <code>switch</code> statement which have redundant code block.<br>
Available if the language level is at least Java 12 Preview
<!-- tooltip end -->
<p><small>New in 2019.1</small></p>
</body>
@@ -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