ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/bzip2 CBZip2OutputStream.java
Date Thu, 24 Jul 2003 13:17:04 GMT
bodewig     2003/07/24 06:17:04

  Modified:    src/main/org/apache/tools/bzip2 CBZip2OutputStream.java
  Log:
  Fix incorrect finalize override
  
  Revision  Changes    Path
  1.15      +2 -1      ant/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java
  
  Index: CBZip2OutputStream.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- CBZip2OutputStream.java	9 Jul 2003 13:44:49 -0000	1.14
  +++ CBZip2OutputStream.java	24 Jul 2003 13:17:04 -0000	1.15
  @@ -411,8 +411,9 @@
   
       boolean closed = false;
   
  -    public void finalize() throws Throwable {
  +    protected void finalize() throws Throwable {
           close();
  +        super.finalize();
       }
   
       public void close() throws IOException {
  
  
  

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


Mime
View raw message