You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2008/12/12 16:47:04 UTC
svn commit: r726057 -
/geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/command/CommandSupport.java
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);
}