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

This commit is contained in:
Dmitry Trofimov
2013-04-03 20:36:17 +02:00
parent 2f6de9cbe4
commit dc7fe9a777
@@ -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());