mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
[python] refactoring: Avoid returning nulls from getArguments()
GitOrigin-RevId: 8dac4c1d5e1a258eb4c985700f4171b91e451a79
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ac5f5705e0
commit
cd0e487f6c
@@ -28,8 +28,8 @@ public interface PyCallSiteExpression extends PyAstCallSiteExpression, PyExpress
|
||||
return (PyExpression)getReceiver((PyAstCallable)resolvedCallee);
|
||||
}
|
||||
|
||||
default @NotNull List<PyExpression> getArguments(@Nullable PyCallable resolvedCallee) {
|
||||
default @NotNull List<@NotNull PyExpression> getArguments(@Nullable PyCallable resolvedCallee) {
|
||||
//noinspection unchecked
|
||||
return (List<PyExpression>)getArguments((PyAstCallable)resolvedCallee);
|
||||
return (List<@NotNull PyExpression>)getArguments((PyAstCallable)resolvedCallee);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user