diff --git a/idea/src/META-INF/plugin.xml b/idea/src/META-INF/plugin.xml index b9869444ca3..7d7246d7652 100644 --- a/idea/src/META-INF/plugin.xml +++ b/idea/src/META-INF/plugin.xml @@ -116,13 +116,6 @@ - - - - - diff --git a/idea/src/org/jetbrains/kotlin/idea/refactoring/KotlinRefactoringSupportProvider.kt b/idea/src/org/jetbrains/kotlin/idea/refactoring/KotlinRefactoringSupportProvider.kt index c6005743380..7cc0224d0c0 100644 --- a/idea/src/org/jetbrains/kotlin/idea/refactoring/KotlinRefactoringSupportProvider.kt +++ b/idea/src/org/jetbrains/kotlin/idea/refactoring/KotlinRefactoringSupportProvider.kt @@ -39,7 +39,7 @@ class KotlinRefactoringSupportProvider : RefactoringSupportProvider() { override fun getIntroduceParameterHandler() = KotlinIntroduceParameterHandler() - fun getIntroduceLambdaParameterHandler(): RefactoringActionHandler = KotlinIntroduceLambdaParameterHandler() + override fun getIntroduceFunctionalParameterHandler() = KotlinIntroduceLambdaParameterHandler() fun getIntroducePropertyHandler(): RefactoringActionHandler = KotlinIntroducePropertyHandler() diff --git a/idea/src/org/jetbrains/kotlin/idea/refactoring/introduce/introduceParameter/IntroduceLambdaParameterAction.kt b/idea/src/org/jetbrains/kotlin/idea/refactoring/introduce/introduceParameter/IntroduceLambdaParameterAction.kt deleted file mode 100644 index a5f4d6506f0..00000000000 --- a/idea/src/org/jetbrains/kotlin/idea/refactoring/introduce/introduceParameter/IntroduceLambdaParameterAction.kt +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2010-2015 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.jetbrains.kotlin.idea.refactoring.introduce.introduceParameter - -import com.intellij.lang.refactoring.RefactoringSupportProvider -import com.intellij.refactoring.RefactoringActionHandler -import org.jetbrains.kotlin.idea.refactoring.KotlinRefactoringSupportProvider -import org.jetbrains.kotlin.idea.refactoring.introduce.AbstractIntroduceAction - -class IntroduceLambdaParameterAction : AbstractIntroduceAction() { - override fun getRefactoringHandler(provider: RefactoringSupportProvider): RefactoringActionHandler? = - (provider as? KotlinRefactoringSupportProvider)?.getIntroduceLambdaParameterHandler() -} \ No newline at end of file