mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
(no message)
This commit is contained in:
@@ -78,7 +78,7 @@ public class IntroduceParameterHandler extends IntroduceHandlerBase implements R
|
||||
|
||||
private boolean invoke(Editor editor, Project project, final PsiExpression expr,
|
||||
PsiLocalVariable localVar, boolean invokedOnDeclaration) {
|
||||
|
||||
LOG.assertTrue(!PsiDocumentManager.getInstance(project).hasUncommitedDocuments());
|
||||
final PsiMethod method;
|
||||
if (expr != null) {
|
||||
method = Util.getContainingMethod(expr);
|
||||
|
||||
Reference in New Issue
Block a user