diff --git a/idea/src/org/jetbrains/kotlin/idea/inspections/EmptyRangeInspection.kt b/idea/src/org/jetbrains/kotlin/idea/inspections/EmptyRangeInspection.kt index 074430840de..e7178dd8ffb 100644 --- a/idea/src/org/jetbrains/kotlin/idea/inspections/EmptyRangeInspection.kt +++ b/idea/src/org/jetbrains/kotlin/idea/inspections/EmptyRangeInspection.kt @@ -47,7 +47,9 @@ class EmptyRangeInspection : AbstractPrimitiveRangeToInspection() { } class ReplaceWithDownToFix : LocalQuickFix { - override fun getFamilyName() = "Replace with 'downTo'" + override fun getName() = "Replace with 'downTo'" + + override fun getFamilyName() = name override fun applyFix(project: Project, descriptor: ProblemDescriptor) { val element = descriptor.psiElement as? KtExpression ?: return diff --git a/idea/src/org/jetbrains/kotlin/idea/inspections/RemoveRedundantSpreadOperatorInspection.kt b/idea/src/org/jetbrains/kotlin/idea/inspections/RemoveRedundantSpreadOperatorInspection.kt index 306308c47d5..4a338f093fe 100644 --- a/idea/src/org/jetbrains/kotlin/idea/inspections/RemoveRedundantSpreadOperatorInspection.kt +++ b/idea/src/org/jetbrains/kotlin/idea/inspections/RemoveRedundantSpreadOperatorInspection.kt @@ -56,7 +56,9 @@ class RemoveRedundantSpreadOperatorInspection : AbstractKotlinInspection() { } class RemoveRedundantSpreadOperatorQuickfix : LocalQuickFix { - override fun getFamilyName() = "Remove redundant spread operator" + override fun getName() = "Remove redundant spread operator" + + override fun getFamilyName() = name override fun applyFix(project: Project, descriptor: ProblemDescriptor) { val arrayOfValueArgument = descriptor.psiElement as? KtValueArgument ?: return diff --git a/idea/src/org/jetbrains/kotlin/idea/inspections/WrapUnaryOperatorInspection.kt b/idea/src/org/jetbrains/kotlin/idea/inspections/WrapUnaryOperatorInspection.kt index bfb31679a06..b4339ef1fc4 100644 --- a/idea/src/org/jetbrains/kotlin/idea/inspections/WrapUnaryOperatorInspection.kt +++ b/idea/src/org/jetbrains/kotlin/idea/inspections/WrapUnaryOperatorInspection.kt @@ -57,7 +57,9 @@ class WrapUnaryOperatorInspection : AbstractKotlinInspection() { } private class WrapUnaryOperatorQuickfix : LocalQuickFix { - override fun getFamilyName() = "Wrap unary operator and value with ()" + override fun getName() = "Wrap unary operator and value with ()" + + override fun getFamilyName() = name override fun applyFix(project: Project, descriptor: ProblemDescriptor) { val expression = descriptor.psiElement as? KtPrefixExpression ?: return