geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r726057 - /geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/command/CommandSupport.java
Date Fri, 12 Dec 2008 15:47:04 GMT
Author: jdillon
Date: Fri Dec 12 07:47:04 2008
New Revision: 726057

URL: http://svn.apache.org/viewvc?rev=726057&view=rev
Log:
Use "gshell.result" instead of "_"

Modified:
    geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/command/CommandSupport.java

Modified: geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/command/CommandSupport.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/command/CommandSupport.java?rev=726057&r1=726056&r2=726057&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/command/CommandSupport.java
(original)
+++ geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/command/CommandSupport.java
Fri Dec 12 07:47:04 2008
@@ -304,8 +304,8 @@
 
             log.trace("Result: {}", value);
 
-            // Save the result to the shell's context under "_"
-            context.getVariables().set("_", value);
+            // Save the result to the shell's context under "gshell.result"
+            context.getVariables().set("gshell.result", value);
 
             result = new CommandResult.ValueResult(value);
         }



Mime
View raw message