mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use correct collection type in API
GitOrigin-RevId: 64a2073d0ded9f2cc7a952b221f7ae2464eb49e1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
66f8f8724e
commit
3c4d2bcc95
+1
-1
@@ -43,7 +43,7 @@ public class ColoredProcessHandler extends KillableProcessHandler implements Ans
|
||||
/**
|
||||
* {@code commandLine} must not be not empty (for correct thread attribution in the stacktrace)
|
||||
*/
|
||||
public ColoredProcessHandler(@NotNull Process process, /*@NotNull*/ String commandLine, @NotNull Charset charset, @Nullable Set<File> filesToDelete) {
|
||||
public ColoredProcessHandler(@NotNull Process process, /*@NotNull*/ String commandLine, @NotNull Charset charset, @Nullable Set<? extends File> filesToDelete) {
|
||||
super(process, commandLine, charset, filesToDelete);
|
||||
setShouldKillProcessSoftly(false);
|
||||
}
|
||||
|
||||
+2
-2
@@ -52,7 +52,7 @@ public class KillableColoredProcessHandler extends ColoredProcessHandler impleme
|
||||
*/
|
||||
public KillableColoredProcessHandler(@NotNull Process process, /*@NotNull*/ String commandLine,
|
||||
@NotNull Charset charset,
|
||||
@Nullable Set<File> filesToDelete) {
|
||||
@Nullable Set<? extends File> filesToDelete) {
|
||||
super(process, commandLine, charset, filesToDelete);
|
||||
setShouldKillProcessSoftly(true);
|
||||
}
|
||||
@@ -69,7 +69,7 @@ public class KillableColoredProcessHandler extends ColoredProcessHandler impleme
|
||||
super(commandLine);
|
||||
}
|
||||
|
||||
public Silent(@NotNull Process process, String commandLine, @NotNull Charset charset, @Nullable Set<File> filesToDetele) {
|
||||
public Silent(@NotNull Process process, String commandLine, @NotNull Charset charset, @Nullable Set<? extends File> filesToDetele) {
|
||||
super(process, commandLine, charset, filesToDetele);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@ public class KillableProcessHandler extends OSProcessHandler implements Killable
|
||||
public KillableProcessHandler(@NotNull Process process, /*@NotNull*/
|
||||
String commandLine,
|
||||
@NotNull Charset charset,
|
||||
@Nullable Set<File> filesToDelete) {
|
||||
@Nullable Set<? extends File> filesToDelete) {
|
||||
super(process, commandLine, charset, filesToDelete);
|
||||
myMediatedProcess = false;
|
||||
}
|
||||
|
||||
@@ -34,13 +34,13 @@ public class OSProcessHandler extends BaseOSProcessHandler {
|
||||
private static final Set<String> REPORTED_EXECUTIONS = ContainerUtil.newConcurrentSet();
|
||||
private static final long ALLOWED_TIMEOUT_THRESHOLD = 10;
|
||||
|
||||
static final Key<Set<File>> DELETE_FILES_ON_TERMINATION = Key.create("OSProcessHandler.FileToDelete");
|
||||
private static final Key<Set<File>> DELETE_FILES_ON_TERMINATION = Key.create("OSProcessHandler.FileToDelete");
|
||||
|
||||
private final boolean myHasErrorStream;
|
||||
private final ModalityState myModality;
|
||||
private boolean myHasPty;
|
||||
private boolean myDestroyRecursively = true;
|
||||
private final Set<File> myFilesToDelete;
|
||||
private final Set<? extends File> myFilesToDelete;
|
||||
|
||||
public OSProcessHandler(@NotNull GeneralCommandLine commandLine) throws ExecutionException {
|
||||
super(startProcess(commandLine), commandLine.getCommandLineString(), commandLine.getCharset());
|
||||
@@ -84,7 +84,7 @@ public class OSProcessHandler extends BaseOSProcessHandler {
|
||||
/**
|
||||
* {@code commandLine} must not be empty (for correct thread attribution in the stacktrace)
|
||||
*/
|
||||
public OSProcessHandler(@NotNull Process process, /*@NotNull*/ String commandLine, @Nullable Charset charset, @Nullable Set<File> filesToDelete) {
|
||||
public OSProcessHandler(@NotNull Process process, /*@NotNull*/ String commandLine, @Nullable Charset charset, @Nullable Set<? extends File> filesToDelete) {
|
||||
super(process, commandLine, charset);
|
||||
setHasPty(isPtyProcess(process));
|
||||
myFilesToDelete = filesToDelete;
|
||||
|
||||
Reference in New Issue
Block a user