You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by wg...@apache.org on 2005/01/05 14:37:48 UTC

svn commit: r124199 - /jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jj /jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jjt /jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java

Author: wglass
Date: Wed Jan  5 05:37:47 2005
New Revision: 124199

URL: http://svn.apache.org/viewcvs?view=rev&rev=124199
Log:
Fix shmo vs correct spelling of schmoo
 http://issues.apache.org/bugzilla/show_bug.cgi?id=32928
Modified:
   jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jj
   jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jjt
   jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java

Modified: jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jj
Url: http://svn.apache.org/viewcvs/jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jj?view=diff&rev=124199&p1=jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jj&r1=124198&p2=jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jj&r2=124199
==============================================================================
--- jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jj	(original)
+++ jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jj	Wed Jan  5 05:37:47 2005
@@ -2618,7 +2618,7 @@
 
     VTL == Velocity Template Language : the references, directives, etc
 
-    shmoo == the non-VTL component of a template
+    schmoo == the non-VTL component of a template
 
     reference == VTL entity that represents data within the context. ex. $foo
 

Modified: jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jjt
Url: http://svn.apache.org/viewcvs/jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jjt?view=diff&rev=124199&p1=jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jjt&r1=124198&p2=jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jjt&r2=124199
==============================================================================
--- jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jjt	(original)
+++ jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/Parser.jjt	Wed Jan  5 05:37:47 2005
@@ -1675,7 +1675,7 @@
 
     VTL == Velocity Template Language : the references, directives, etc
 
-    shmoo == the non-VTL component of a template
+    schmoo == the non-VTL component of a template
 
     reference == VTL entity that represents data within the context. ex. $foo
 

Modified: jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java
Url: http://svn.apache.org/viewcvs/jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java?view=diff&rev=124199&p1=jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java&r1=124198&p2=jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java&r2=124199
==============================================================================
--- jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java	(original)
+++ jakarta/velocity/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java	Wed Jan  5 05:37:47 2005
@@ -44,7 +44,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.51 2004/03/19 17:13:36 dlr Exp $
+ * @version $Id$
 */
 public class ASTReference extends SimpleNode
 {
@@ -222,7 +222,7 @@
         /*
          *  if this reference is escaped (\$foo) then we want to do one of two things :
          *  1) if this is a reference in the context, then we want to print $foo
-         *  2) if not, then \$foo  (its considered shmoo, not VTL)
+         *  2) if not, then \$foo  (its considered schmoo, not VTL)
          */
 
         if (escaped)
@@ -262,7 +262,7 @@
         if (value == null)
         {
             /*
-             *  write prefix twice, because it's shmoo, so the \ don't escape each other...
+             *  write prefix twice, because it's schmoo, so the \ don't escape each other...
              */
 
             writer.write(escPrefix);

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org