commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject svn commit: r383391 - /jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/LineIterator.java
Date Sun, 05 Mar 2006 20:18:57 GMT
Author: scolebourne
Date: Sun Mar  5 12:18:54 2006
New Revision: 383391

URL: http://svn.apache.org/viewcvs?rev=383391&view=rev
Log:
Remove finalize method

Modified:
    jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/LineIterator.java

Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/LineIterator.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/LineIterator.java?rev=383391&r1=383390&r2=383391&view=diff
==============================================================================
--- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/LineIterator.java (original)
+++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/LineIterator.java Sun Mar
 5 12:18:54 2006
@@ -150,14 +150,6 @@
         throw new UnsupportedOperationException("Remove unsupported on LineIterator");
     }
 
-    /**
-     * Finalize which closes the underlying reader.
-     * Do not rely on this method to handle cleanup - call closeQuietly yourself.
-     */
-    protected void finalize() throws Throwable {
-        close();
-    }
-
     //-----------------------------------------------------------------------
     /**
      * Closes the iterator, handling null and ignoring exceptions.



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


Mime
View raw message