Author: antoine
Date: Fri Sep 29 01:32:48 2006
New Revision: 451160
URL: http://svn.apache.org/viewvc?view=rev&rev=451160
Log:
remove finalize method, suggested by Peter Reilly
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/URLResource.java
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/URLResource.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/resources/URLResource.java?view=diff&rev=451160&r1=451159&r2=451160
==============================================================================
---
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/URLResource.java
(original)
+++
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/URLResource.java
Fri Sep 29 01:32:48 2006
@@ -356,15 +356,6 @@
}
}
- /**
- * Finalize this URLResource.
- * @throws Throwable on error.
- */
- protected void finalize() throws Throwable {
- conn = null;
- super.finalize();
- }
-
private static URL newURL(String u) {
try {
return new URL(u);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]