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/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs Tar.java
Date Tue, 22 Jan 2002 12:13:46 GMT
donaldp     02/01/22 04:13:46

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs
                        Tar.java
  Log:
  Reuse IOUtil functionality
  
  Revision  Changes    Path
  1.20      +1 -4      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Tar.java
  
  Index: Tar.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Tar.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- Tar.java	20 Jan 2002 17:35:00 -0000	1.19
  +++ Tar.java	22 Jan 2002 12:13:46 -0000	1.20
  @@ -32,7 +32,6 @@
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
    * @author <a href="mailto:umagesh@apache.org">Magesh Umasankar</a>
    */
  -
   public class Tar
       extends MatchingTask
   {
  @@ -304,9 +303,7 @@
           }
           finally
           {
  -            if( input != null ) {
  -                input.close();
  -            }
  +            IOUtil.shutdownStream( input );
           }
       }
   }
  
  
  

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