From 2ef2c358c454520a148990a35b6ac36bc61f4a74 Mon Sep 17 00:00:00 2001 From: Dmitry Gridin Date: Tue, 25 Jun 2019 15:10:17 +0700 Subject: [PATCH] RedundantLetInspection: fix descriptions --- idea/resources/META-INF/plugin-common.xml | 4 ++-- .../inspectionDescriptions/ComplexRedundantLet.html | 2 +- .../inspectionDescriptions/SimpleRedundantLet.html | 2 +- .../kotlin/idea/inspections/RedundantLetInspection.kt | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/idea/resources/META-INF/plugin-common.xml b/idea/resources/META-INF/plugin-common.xml index a3079454a76..6be3813dd30 100644 --- a/idea/resources/META-INF/plugin-common.xml +++ b/idea/resources/META-INF/plugin-common.xml @@ -2234,7 +2234,7 @@ /> -This inspection detects a redundant let when it includes only one call with lambda parameter. +This inspection detects a redundant argument-based let call. diff --git a/idea/resources/inspectionDescriptions/SimpleRedundantLet.html b/idea/resources/inspectionDescriptions/SimpleRedundantLet.html index 3a4e562eec8..d141fd83d98 100644 --- a/idea/resources/inspectionDescriptions/SimpleRedundantLet.html +++ b/idea/resources/inspectionDescriptions/SimpleRedundantLet.html @@ -1,5 +1,5 @@ -This inspection detects a redundant let when it includes only one call with lambda parameter as receiver. +This inspection detects a redundant receiver-based let call. diff --git a/idea/src/org/jetbrains/kotlin/idea/inspections/RedundantLetInspection.kt b/idea/src/org/jetbrains/kotlin/idea/inspections/RedundantLetInspection.kt index db8fefd7a31..5335f9aca2c 100644 --- a/idea/src/org/jetbrains/kotlin/idea/inspections/RedundantLetInspection.kt +++ b/idea/src/org/jetbrains/kotlin/idea/inspections/RedundantLetInspection.kt @@ -41,7 +41,7 @@ abstract class RedundantLetInspection : AbstractApplicabilityBasedInspection