From c338fdd677e5228f6add319c4e3946150bbc6824 Mon Sep 17 00:00:00 2001 From: Dmitry Gridin Date: Mon, 30 Mar 2020 12:03:34 +0700 Subject: [PATCH] i18n: cleanup `ChangeVisibilityModifierIntention` #KT-37483 --- .../kotlin/idea/intentions/ChangeVisibilityModifierIntention.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/src/org/jetbrains/kotlin/idea/intentions/ChangeVisibilityModifierIntention.kt b/idea/src/org/jetbrains/kotlin/idea/intentions/ChangeVisibilityModifierIntention.kt index 2b04cfe5a9d..e4f006d5ae1 100644 --- a/idea/src/org/jetbrains/kotlin/idea/intentions/ChangeVisibilityModifierIntention.kt +++ b/idea/src/org/jetbrains/kotlin/idea/intentions/ChangeVisibilityModifierIntention.kt @@ -74,7 +74,7 @@ open class ChangeVisibilityModifierIntention protected constructor( val defaultRange = noModifierYetApplicabilityRange(element) ?: return null if (element is KtPrimaryConstructor && defaultRange.isEmpty && element.visibilityModifier() == null) { - text = "${KotlinBundle.message("make.primary.constructor.0", modifier.value)}" // otherwise it may be confusing + text = KotlinBundle.message("make.primary.constructor.0", modifier.value) // otherwise it may be confusing } return if (modifierList != null)