mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-74922 Groovy: cannot close Warning dialog shown on Introduce Parameter Refactoring
This commit is contained in:
+1
@@ -177,6 +177,7 @@ public class GrIntroduceParameterHandler implements RefactoringActionHandler {
|
||||
final GrParametersOwner owner = scopes.get(0);
|
||||
if (owner instanceof GrMethod) {
|
||||
PsiMethod newMethod = SuperMethodWarningUtil.checkSuperMethod((PsiMethod)owner, RefactoringBundle.message("to.refactor"));
|
||||
if (newMethod == null) return;
|
||||
getContext(project, editor, expression, variable, owner, newMethod);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user