From 206dbced3f98ae1b7eec3dde42eb6ca93558b822 Mon Sep 17 00:00:00 2001 From: Dmitry Trofimov Date: Tue, 7 Sep 2010 22:12:21 +0400 Subject: [PATCH] little fixes in debug --- .../src/com/intellij/execution/process/RunnerMediator.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/execution/process/RunnerMediator.java b/platform/platform-impl/src/com/intellij/execution/process/RunnerMediator.java index 5b3969a64d6d..dd1610dace41 100644 --- a/platform/platform-impl/src/com/intellij/execution/process/RunnerMediator.java +++ b/platform/platform-impl/src/com/intellij/execution/process/RunnerMediator.java @@ -34,18 +34,18 @@ public class RunnerMediator { } } - public static void injectRunnerCommand(GeneralCommandLine commandLine) { + public static void injectRunnerCommand(@NotNull GeneralCommandLine commandLine) { commandLine.getParametersList().addAt(0, commandLine.getExePath()); commandLine.setExePath(getRunnerPath()); } - public static String injectUid(GeneralCommandLine commandLine) { + public static String injectUid(@NotNull GeneralCommandLine commandLine) { String uid = commandLine.getExePath() + ":" + UUID.randomUUID().toString(); commandLine.getEnvParams().put(UID_KEY_NAME, uid); return uid; } - public static ColoredProcessHandler createProcessWithStopInjections(GeneralCommandLine commandLine) + public static ColoredProcessHandler createProcessWithStopInjections(@NotNull GeneralCommandLine commandLine) throws ExecutionException { if (isWindows()) { injectRunnerCommand(commandLine);