ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r451160 - /ant/core/trunk/src/main/org/apache/tools/ant/types/resources/URLResource.java
Date Fri, 29 Sep 2006 08:32:49 GMT
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message