You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by ge...@apache.org on 2001/03/22 00:21:30 UTC
cvs commit: jakarta-velocity/src/java/org/apache/velocity/runtime/directive VMProxyArg.java
geirm 01/03/21 15:21:29
Modified: src/java/org/apache/velocity/runtime/directive
VMProxyArg.java
Log:
Small fix for the bug indirectly alluded to by Nathan Bubna
bugzilla #1074
Revision Changes Path
1.6 +2 -2 jakarta-velocity/src/java/org/apache/velocity/runtime/directive/VMProxyArg.java
Index: VMProxyArg.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/directive/VMProxyArg.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- VMProxyArg.java 2001/03/19 17:13:01 1.5
+++ VMProxyArg.java 2001/03/21 23:21:26 1.6
@@ -111,7 +111,7 @@
* into a local context.
*
* @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
- * @version $Id: VMProxyArg.java,v 1.5 2001/03/19 17:13:01 geirm Exp $
+ * @version $Id: VMProxyArg.java,v 1.6 2001/03/21 23:21:26 geirm Exp $
*/
public class VMProxyArg
{
@@ -322,7 +322,7 @@
StringWriter writer = new StringWriter() ;
nodeTree.render( context, writer );
- retObject = writer;
+ retObject = writer.toString();
}
catch (Exception e )
{