mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
Add @Nullable/@NotNull annotations to PySkeletonGenerator.getProcessOutput() method signature
GitOrigin-RevId: ee07b42d6ab9c167b5ef5949822613be8713d965
This commit is contained in:
committed by
intellij-monorepo-bot
parent
52bf1d83b2
commit
c0981499a1
@@ -395,10 +395,11 @@ public class PySkeletonGenerator {
|
||||
public void prepare() {
|
||||
}
|
||||
|
||||
protected ProcessOutput getProcessOutput(String homePath,
|
||||
@NotNull
|
||||
protected ProcessOutput getProcessOutput(@Nullable String homePath,
|
||||
String @NotNull [] commandLine,
|
||||
@Nullable String stdin,
|
||||
Map<String, String> extraEnv,
|
||||
@Nullable Map<String, String> extraEnv,
|
||||
int timeout) throws InvalidSdkException {
|
||||
final byte[] bytes = stdin != null ? stdin.getBytes(StandardCharsets.UTF_8) : null;
|
||||
return PySdkUtil.getProcessOutput(homePath, commandLine, extraEnv, timeout, bytes, true);
|
||||
|
||||
Reference in New Issue
Block a user