mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
@NotNull getStatementList
This commit is contained in:
@@ -80,7 +80,6 @@ public class AddGlobalQuickFix implements LocalQuickFix {
|
||||
statementList = ((PyFunction)owner).getStatementList();
|
||||
if (((PyFunction)owner).getDocStringExpression() != null) hasDocString = true;
|
||||
}
|
||||
assert statementList != null;
|
||||
PyStatement first = statementList.getStatements()[0];
|
||||
if (hasDocString)
|
||||
first = statementList.getStatements()[1];
|
||||
|
||||
Reference in New Issue
Block a user