diff --git a/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java b/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java index 7b3577b43..fe2e2e155 100644 --- a/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java +++ b/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java @@ -122,7 +122,7 @@ protected CommandLine getProcEnvCommand() { */ public synchronized Map getProcEnvironment() throws IOException { if (procEnvironment == null) { - procEnvironment = this.createProcEnvironment(); + procEnvironment = createProcEnvironment(); } // create a copy of the map just in case that // anyone is going to modifiy it, e.g. removing