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 2002/04/27 20:08:34 UTC
cvs commit: jakarta-velocity/src/java/org/apache/velocity/runtime/parser/node ASTReference.java
geirm 02/04/27 11:08:34
Modified: src/java/org/apache/velocity/runtime/parser/node
ASTReference.java
Log:
fix for bug : 7684
Problem was if it was a quiet reference, the event handler would be called
with "". Whoops.
Revision Changes Path
1.47 +2 -2 jakarta-velocity/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java
Index: ASTReference.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- ASTReference.java 21 Apr 2002 20:57:04 -0000 1.46
+++ ASTReference.java 27 Apr 2002 18:08:34 -0000 1.47
@@ -87,7 +87,7 @@
* @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
* @author <a href="mailto:Christoph.Reck@dlr.de">Christoph Reck</a>
* @author <a href="mailto:kjohnson@transparent.com>Kent Johnson</a>
- * @version $Id: ASTReference.java,v 1.46 2002/04/21 20:57:04 geirm Exp $
+ * @version $Id: ASTReference.java,v 1.47 2002/04/27 18:08:34 geirm Exp $
*/
public class ASTReference extends SimpleNode
{
@@ -295,7 +295,7 @@
if (ec != null)
{
- value = ec.referenceInsert( nullString, value );
+ value = ec.referenceInsert(literal(), value);
}
/*
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>