commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@vafer.org>
Subject Re: svn commit: r1094856 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
Date Tue, 19 Apr 2011 15:00:49 GMT
I am really not comfortable doing all this stuff in finalize. Why use
finalize at all?
If someone forgot a close then he has to find and fix this in his code.

Darn. Cannot find the reference I am thinking of why using "finalize"
usually is really a bad idea. Was it from Bloch? Can't remember.

cheers,
Torsten

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


Mime
View raw message