From dc7fe9a777db5bc87a5b1ad4bfe40a547fc7d49a Mon Sep 17 00:00:00 2001 From: Dmitry Trofimov Date: Wed, 3 Apr 2013 20:36:17 +0200 Subject: [PATCH] Usage of GeneralCommandLine.getEnvParams() replaced by getEnvParamsNotNull() analogue in cases where it was a) NPE possibility, b) !=null assertions and c) checking for null and setting new map --- .../src/com/intellij/execution/process/ScriptRunnerUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/execution/process/ScriptRunnerUtil.java b/platform/platform-impl/src/com/intellij/execution/process/ScriptRunnerUtil.java index 2c66c47071a3..332a1ce4bdee 100644 --- a/platform/platform-impl/src/com/intellij/execution/process/ScriptRunnerUtil.java +++ b/platform/platform-impl/src/com/intellij/execution/process/ScriptRunnerUtil.java @@ -219,7 +219,7 @@ public final class ScriptRunnerUtil { } LOG.debug("Command line: " + commandLine.getCommandLineString()); - LOG.debug("Command line env: " + commandLine.getEnvParams()); + LOG.debug("Command line env: " + commandLine.getEnvParamsNotNull()); final OSProcessHandler processHandler = new ColoredProcessHandler(commandLine.createProcess(), commandLine.getCommandLineString(), EncodingManager.getInstance().getDefaultCharset());