Browse Source

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
master
Antoine Levy-Lambert 18 years ago
parent
commit
5998d06be2
1 changed files with 0 additions and 9 deletions
  1. +0
    -9
      src/main/org/apache/tools/ant/types/resources/URLResource.java

+ 0
- 9
src/main/org/apache/tools/ant/types/resources/URLResource.java View File

@@ -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);


Loading…
Cancel
Save