From 23aef030d8b5f2be698fae43855264053d9ccd27 Mon Sep 17 00:00:00 2001 From: "Roman.Ivanov" Date: Thu, 6 Dec 2018 17:46:19 +0700 Subject: [PATCH] EnhancedSwitchBackwardMigrationInspection: fix names --- .../EnhancedSwitchBackwardMigration.html | 5 ++--- .../src/messages/InspectionsBundle.properties | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/java/java-impl/src/inspectionDescriptions/EnhancedSwitchBackwardMigration.html b/java/java-impl/src/inspectionDescriptions/EnhancedSwitchBackwardMigration.html index 3011472d270b..d19356eff499 100644 --- a/java/java-impl/src/inspectionDescriptions/EnhancedSwitchBackwardMigration.html +++ b/java/java-impl/src/inspectionDescriptions/EnhancedSwitchBackwardMigration.html @@ -1,8 +1,7 @@ -

- Reports 'switch' statements, which can be replaced with enhanced 'switch' statement or expression. -

+Reports 'switch' statements, which can be replaced with enhanced 'switch' statement or expression. +

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 c3274cb9b59a..2f9b576acf44 100644 --- a/platform/platform-resources-en/src/messages/InspectionsBundle.properties +++ b/platform/platform-resources-en/src/messages/InspectionsBundle.properties @@ -1034,7 +1034,7 @@ inspection.switch.expression.migration.inspection.if.name=If statement can be re inspection.replace.with.switch.expression.fix.name=Replace with 'switch' expression inspection.replace.with.enhanced.switch.statement.fix.name=Replace with enhanced 'switch' statement -inspection.switch.expression.backward.migration.inspection.name='switch' expression can be replaced with old style 'switch' statement +inspection.switch.expression.backward.migration.inspection.name=New style 'switch' can be replaced with old style one inspection.switch.expression.backward.expression.migration.inspection.name='switch' expression can be replaced with old style 'switch' statement inspection.switch.expression.backward.statement.migration.inspection.name='switch' statement can be replaced with old style 'switch' statement inspection.replace.with.old.style.switch.statement.fix.name=Replace with old style 'switch' statement