ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/antlib/src/java/org/apache/antlib/file FilteredCopyTask.java
Date Fri, 05 Jul 2002 03:27:59 GMT
donaldp     2002/07/04 20:27:59

  Modified:    antlib/src/java/org/apache/antlib/file FilteredCopyTask.java
  Log:
  Remove redundent null assignment
  
  Revision  Changes    Path
  1.2       +2 -3      jakarta-ant-myrmidon/antlib/src/java/org/apache/antlib/file/FilteredCopyTask.java
  
  Index: FilteredCopyTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/antlib/src/java/org/apache/antlib/file/FilteredCopyTask.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FilteredCopyTask.java	14 Apr 2002 10:56:03 -0000	1.1
  +++ FilteredCopyTask.java	5 Jul 2002 03:27:59 -0000	1.2
  @@ -97,7 +97,6 @@
                             final BufferedWriter output )
           throws IOException
       {
  -        String newline = null;
           String line = input.readLine();
           while( null != line )
           {
  @@ -107,7 +106,7 @@
               }
               else
               {
  -                newline = replaceTokens( line );
  +                final String newline = replaceTokens( line );
                   output.write( newline );
                   output.newLine();
               }
  
  
  

--
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