mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-87589 - IAE: CommonRefactoringUtil.showErrorHint
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ class WrapReturnValueHandler implements RefactoringActionHandler {
|
||||
|
||||
if(method instanceof PsiCompiledElement){
|
||||
CommonRefactoringUtil.showErrorHint(project, editor, RefactorJBundle.message("cannot.perform.the.refactoring") + RefactorJBundle.message(
|
||||
"the.selected.method.cannot.be.wrapped.because.it.is.defined.in.a.non.project.class"), null, this.getHelpID());
|
||||
"the.selected.method.cannot.be.wrapped.because.it.is.defined.in.a.non.project.class"), REFACTORING_NAME, this.getHelpID());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user