commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r674218 - /commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/compressors/bzip2/BZip2OutputStream.java
Date Sat, 05 Jul 2008 18:35:22 GMT
Author: bayard
Date: Sat Jul  5 11:35:21 2008
New Revision: 674218

URL: http://svn.apache.org/viewvc?rev=674218&view=rev
Log:
Findbugs report says to make the finalize protected and not public. Makes sense to me. 

Modified:
    commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/compressors/bzip2/BZip2OutputStream.java

Modified: commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/compressors/bzip2/BZip2OutputStream.java
URL: http://svn.apache.org/viewvc/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/compressors/bzip2/BZip2OutputStream.java?rev=674218&r1=674217&r2=674218&view=diff
==============================================================================
--- commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/compressors/bzip2/BZip2OutputStream.java
(original)
+++ commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/compressors/bzip2/BZip2OutputStream.java
Sat Jul  5 11:35:21 2008
@@ -397,7 +397,7 @@
         m_bsStream.close();
     }
 
-    public void finalize()
+    protected void finalize()
         throws Throwable
     {
         close();



Mime
View raw message