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)