ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umag...@apache.org
Subject cvs commit: jakarta-ant/proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters BaseFilterReader.java
Date Thu, 28 Feb 2002 19:21:25 GMT
umagesh     02/02/28 11:21:25

  Modified:    proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters
                        BaseFilterReader.java
  Log:
  Skip must use this.read() and not in.read() - Thanks, Adam, for catching this.
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-ant/proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters/BaseFilterReader.java
  
  Index: BaseFilterReader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters/BaseFilterReader.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BaseFilterReader.java	28 Feb 2002 18:23:37 -0000	1.2
  +++ BaseFilterReader.java	28 Feb 2002 19:21:25 -0000	1.3
  @@ -141,7 +141,7 @@
           }
   
           for (long i = 0; i < n; i++) {
  -            if (in.read() == -1) {
  +            if (read() == -1) {
                   return i;
               }
           }
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message