geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r576949 - /geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultEnvironment.java
Date Tue, 18 Sep 2007 15:32:32 GMT
Author: jdillon
Date: Tue Sep 18 08:32:31 2007
New Revision: 576949

URL: http://svn.apache.org/viewvc?rev=576949&view=rev
Log:
Mark "env" as immutable

Modified:
    geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultEnvironment.java

Modified: geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultEnvironment.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultEnvironment.java?rev=576949&r1=576948&r2=576949&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultEnvironment.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultEnvironment.java
Tue Sep 18 08:32:31 2007
@@ -43,8 +43,7 @@
         this.io = io;
         this.vars = vars;
 
-        // And then do some setup some default variables
-        vars.set("env", System.getenv());
+        vars.set("env", System.getenv(), false);
     }
 
     public DefaultEnvironment(final IO io) {



Mime
View raw message