1
0
This commit is contained in:
Gary Gregory
2023-11-20 19:22:47 -05:00
parent 6b11d8ab2e
commit e4d94ff51e
4 changed files with 6 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ import junit.framework.Assert;
* resources from the parent. However overriding this method isn't possible
* as the java 1.4 version of ClassLoader declares this method final
* (though the java 1.5 version has removed the final qualifier). As the
* ClassLoader javadoc doesn't specify the order in which resources
* ClassLoader Javadoc doesn't specify the order in which resources
* are returned, it's valid to return the resources in any order (just
* untidy) so the inherited implementation is technically ok.
*/
@@ -201,7 +201,7 @@ public class PathableClassLoader extends URLClassLoader {
return local.openStream();
} catch (final IOException e) {
// TODO: check if this is right or whether we should
// fall back to trying parent. The javadoc doesn't say...
// fall back to trying parent. The Javadoc doesn't say...
return null;
}
}
@@ -351,7 +351,7 @@ public class PathableClassLoader extends URLClassLoader {
* which are visible in shared class loaders provided by the container.
* <p>
* Note that the method getResources always behaves as if parentFirst=true,
* because of limitations in java 1.4; see the javadoc for method
* because of limitations in java 1.4; see the Javadoc for method
* getResourcesInOrder for details.
* <p>
* This value defaults to true.

View File

@@ -43,7 +43,7 @@ import junit.framework.TestCase;
* <p>
* Note that parentFirst=true is used in this test because method
* {@code PathableClassLoader.getResources} always behaves as if
* parentFirst=true; see the PathableClassLoader javadoc for details.
* parentFirst=true; see the PathableClassLoader Javadoc for details.
*/
public class PriorityConfigTestCase extends TestCase {