mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
getHandler() fixed
This commit is contained in:
+4
-1
@@ -74,7 +74,10 @@ public abstract class BasePlatformRefactoringAction extends BaseRefactoringActio
|
||||
if (editor != null && file != null) {
|
||||
element = getElementAtCaret(editor, file);
|
||||
if (element != null) {
|
||||
return getHandler(element.getLanguage(), element);
|
||||
RefactoringActionHandler handler = getHandler(element.getLanguage(), element);
|
||||
if (handler != null) {
|
||||
return handler;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user