Browse Source

style

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274974 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 22 years ago
parent
commit
01c75268c3
2 changed files with 4 additions and 1 deletions
  1. +1
    -0
      src/main/org/apache/tools/ant/filters/StringInputStream.java
  2. +3
    -1
      src/main/org/apache/tools/ant/filters/util/ChainReaderHelper.java

+ 1
- 0
src/main/org/apache/tools/ant/filters/StringInputStream.java View File

@@ -64,6 +64,7 @@ import java.io.StringReader;
*/ */
public class StringInputStream public class StringInputStream
extends InputStream { extends InputStream {

/** Source string, stored as a StringReader */ /** Source string, stored as a StringReader */
private StringReader in; private StringReader in;




+ 3
- 1
src/main/org/apache/tools/ant/filters/util/ChainReaderHelper.java View File

@@ -78,6 +78,8 @@ import org.apache.tools.ant.util.FileUtils;
*/ */
public final class ChainReaderHelper { 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. * The primary reader to which the reader chain is to be attached.
*/ */
@@ -86,7 +88,7 @@ public final class ChainReaderHelper {
/** /**
* The size of the buffer to be used. * The size of the buffer to be used.
*/ */
public int bufferSize = 8192;
public int bufferSize = DEFAULT_BUFFER_SIZE;


/** /**
* Chain of filters * Chain of filters


Loading…
Cancel
Save