diff --git a/src/main/org/apache/tools/ant/AntClassLoader.java b/src/main/org/apache/tools/ant/AntClassLoader.java index 5be6f756c..6fdbd5104 100644 --- a/src/main/org/apache/tools/ant/AntClassLoader.java +++ b/src/main/org/apache/tools/ant/AntClassLoader.java @@ -807,11 +807,11 @@ public class AntClassLoader extends ClassLoader implements SubBuildListener { * resource before this one. If the resource matches both the "use parent * classloader first" and the "use this classloader first" lists, the latter * takes priority. - * + * * @param resourceName * The name of the resource to check. Must not be * null. - * + * * @return whether or not the parent classloader should be checked for a * resource before this one is. */ @@ -1300,7 +1300,7 @@ public class AntClassLoader extends ClassLoader implements SubBuildListener { } throw new ClassNotFoundException(name); } finally { - FileUtils.close(stream); + FileUtils.close(stream); } }