You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pe...@apache.org on 2003/07/29 10:57:32 UTC
cvs commit: ant/src/main/org/apache/tools/ant/filters/util ChainReaderHelper.java
peterreilly 2003/07/29 01:57:32
Modified: src/main/org/apache/tools/ant/filters StringInputStream.java
src/main/org/apache/tools/ant/filters/util
ChainReaderHelper.java
Log:
style
Revision Changes Path
1.12 +1 -0 ant/src/main/org/apache/tools/ant/filters/StringInputStream.java
Index: StringInputStream.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/filters/StringInputStream.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- StringInputStream.java 25 Jul 2003 08:45:26 -0000 1.11
+++ StringInputStream.java 29 Jul 2003 08:57:32 -0000 1.12
@@ -64,6 +64,7 @@
*/
public class StringInputStream
extends InputStream {
+
/** Source string, stored as a StringReader */
private StringReader in;
1.19 +3 -1 ant/src/main/org/apache/tools/ant/filters/util/ChainReaderHelper.java
Index: ChainReaderHelper.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/filters/util/ChainReaderHelper.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ChainReaderHelper.java 25 Jul 2003 08:45:26 -0000 1.18
+++ ChainReaderHelper.java 29 Jul 2003 08:57:32 -0000 1.19
@@ -78,6 +78,8 @@
*/
public final class ChainReaderHelper {
+ // default buffer size
+ private static final int DEFAULT_BUFFER_SIZE = 8192;
/**
* The primary reader to which the reader chain is to be attached.
*/
@@ -86,7 +88,7 @@
/**
* The size of the buffer to be used.
*/
- public int bufferSize = 8192;
+ public int bufferSize = DEFAULT_BUFFER_SIZE;
/**
* Chain of filters
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org