velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r525312 - /velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTIntegerRange.java
Date Tue, 03 Apr 2007 22:29:34 GMT
Author: nbubna
Date: Tue Apr  3 15:29:33 2007
New Revision: 525312

URL: http://svn.apache.org/viewvc?view=rev&rev=525312
Log:
trivial grammar/text tweaks

Modified:
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTIntegerRange.java

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTIntegerRange.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTIntegerRange.java?view=diff&rev=525312&r1=525311&r2=525312
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTIntegerRange.java
(original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTIntegerRange.java
Tue Apr  3 15:29:33 2007
@@ -94,14 +94,14 @@
         }
 
         /*
-         *  if not an Integer, not much we can do either
+         *  if not a Number, not much we can do either
          */
 
         if ( !( left instanceof Number )  || !( right instanceof Number ))
         {
             log.error((!(left instanceof Number) ? "Left" : "Right")
                            + " side of range operator is not a valid type. "
-                           + "Currently only integers (1,2,3...) and the Numbertype is supported.
"
+                           + "Currently only integers (1,2,3...) and the Number type are
supported. "
                            + context.getCurrentTemplateName() + " [line " + getLine()
                            + ", column " + getColumn() + ']');
 



Mime
View raw message