ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Replace.java
Date Mon, 14 Feb 2005 21:08:00 GMT
jkf         2005/02/14 13:08:00

  Modified:    src/main/org/apache/tools/ant/taskdefs Replace.java
  Log:
  javadoc / removed unused local variable
  
  Revision  Changes    Path
  1.61      +4 -2      ant/src/main/org/apache/tools/ant/taskdefs/Replace.java
  
  Index: Replace.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Replace.java,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- Replace.java	6 Jan 2005 12:05:05 -0000	1.60
  +++ Replace.java	14 Feb 2005 21:08:00 -0000	1.61
  @@ -269,7 +269,7 @@
            * received data.
            */
           void flush() {
  -            int pos = replace();
  +            replace();
               outputBuffer.append(inputBuffer);
               inputBuffer.delete(0, inputBuffer.length());
           }
  @@ -365,7 +365,7 @@
   
           /**
            * Constructs the output component. Opens the file for writing.
  -         * @param source The file to read from.
  +         * @param out The file to read to.
            * @throws IOException When the file cannot be read from.
            */
           FileOutput(File out) throws IOException {
  @@ -394,6 +394,7 @@
            * @return false to be inline with the Replacefilter.
            * (Yes defining an interface crossed my mind, but would publish the
            * internal behavior.)
  +         * @throws IOException when the output cannot be written.
            */
           boolean process() throws IOException {
               writer.write(inputBuffer.toString());
  @@ -403,6 +404,7 @@
   
           /**
            * Processes the buffer to the end.
  +         * @throws IOException when the output cannot be flushed.
            */
           void flush() throws IOException {
               process();
  
  
  

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


Mime
View raw message