You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by wg...@apache.org on 2008/07/13 19:44:21 UTC

svn commit: r676374 - /velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/VelocityCharStream.java

Author: wglass
Date: Sun Jul 13 10:44:20 2008
New Revision: 676374

URL: http://svn.apache.org/viewvc?rev=676374&view=rev
Log:
use, don't ignore, the buffer size argument.  Related to VELOCITY-570.

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

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/VelocityCharStream.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/VelocityCharStream.java?rev=676374&r1=676373&r2=676374&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/VelocityCharStream.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/VelocityCharStream.java Sun Jul 13 10:44:20 2008
@@ -363,7 +363,7 @@
 public VelocityCharStream(java.io.InputStream dstream, int startline,
   int startcolumn, int buffersize)
   {
-     this(new java.io.InputStreamReader(dstream), startline, startcolumn, 4096);
+     this(new java.io.InputStreamReader(dstream), startline, startcolumn, buffersize);
   }
 
   /**
@@ -386,7 +386,7 @@
 public void ReInit(java.io.InputStream dstream, int startline,
   int startcolumn, int buffersize)
   {
-     ReInit(new java.io.InputStreamReader(dstream), startline, startcolumn, 4096);
+     ReInit(new java.io.InputStreamReader(dstream), startline, startcolumn, buffersize);
   }
   /**
  * @param dstream