From 5998d06be21e7d73af82d29b12c22199c16ed21f Mon Sep 17 00:00:00 2001 From: Antoine Levy-Lambert Date: Fri, 29 Sep 2006 08:32:48 +0000 Subject: [PATCH] remove finalize method, suggested by Peter Reilly git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@451160 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/tools/ant/types/resources/URLResource.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main/org/apache/tools/ant/types/resources/URLResource.java b/src/main/org/apache/tools/ant/types/resources/URLResource.java index 45d83bd14..6a99bb955 100644 --- a/src/main/org/apache/tools/ant/types/resources/URLResource.java +++ b/src/main/org/apache/tools/ant/types/resources/URLResource.java @@ -356,15 +356,6 @@ public class URLResource extends Resource { } } - /** - * 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);