You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2006/03/05 21:18:57 UTC
svn commit: r383391 -
/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/LineIterator.java
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