Spelling
This commit is contained in:
@@ -374,7 +374,7 @@ public abstract class LogFactory {
|
|||||||
* At this point, either classLoader == null, OR classLoader was unable to load factoryClass.
|
* At this point, either classLoader == null, OR classLoader was unable to load factoryClass.
|
||||||
*
|
*
|
||||||
* In either case, we call Class.forName, which is equivalent to LogFactory.class.getClassLoader().load(name), that is, we ignore the classloader
|
* In either case, we call Class.forName, which is equivalent to LogFactory.class.getClassLoader().load(name), that is, we ignore the classloader
|
||||||
* parameter the caller passed, and fall back to trying the classloader associated with this class. See the javadoc for the newFactory method for
|
* parameter the caller passed, and fall back to trying the classloader associated with this class. See the Javadoc for the newFactory method for
|
||||||
* more info on the consequences of this.
|
* more info on the consequences of this.
|
||||||
*
|
*
|
||||||
* Notes: * LogFactory.class.getClassLoader() may return 'null' if LogFactory is loaded by the bootstrap classloader.
|
* Notes: * LogFactory.class.getClassLoader() may return 'null' if LogFactory is loaded by the bootstrap classloader.
|
||||||
|
|||||||
@@ -493,7 +493,7 @@ public class LogFactoryImpl extends LogFactory {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Attempts to create a Log instance for the given category name.
|
* Attempts to create a Log instance for the given category name.
|
||||||
* Follows the discovery process described in the class javadoc.
|
* Follows the discovery process described in the class Javadoc.
|
||||||
*
|
*
|
||||||
* @param logCategory the name of the log category
|
* @param logCategory the name of the log category
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ import junit.framework.Assert;
|
|||||||
* resources from the parent. However overriding this method isn't possible
|
* resources from the parent. However overriding this method isn't possible
|
||||||
* as the java 1.4 version of ClassLoader declares this method final
|
* 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
|
* (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
|
* are returned, it's valid to return the resources in any order (just
|
||||||
* untidy) so the inherited implementation is technically ok.
|
* untidy) so the inherited implementation is technically ok.
|
||||||
*/
|
*/
|
||||||
@@ -201,7 +201,7 @@ public class PathableClassLoader extends URLClassLoader {
|
|||||||
return local.openStream();
|
return local.openStream();
|
||||||
} catch (final IOException e) {
|
} catch (final IOException e) {
|
||||||
// TODO: check if this is right or whether we should
|
// 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;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -351,7 +351,7 @@ public class PathableClassLoader extends URLClassLoader {
|
|||||||
* which are visible in shared class loaders provided by the container.
|
* which are visible in shared class loaders provided by the container.
|
||||||
* <p>
|
* <p>
|
||||||
* Note that the method getResources always behaves as if parentFirst=true,
|
* 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.
|
* getResourcesInOrder for details.
|
||||||
* <p>
|
* <p>
|
||||||
* This value defaults to true.
|
* This value defaults to true.
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ import junit.framework.TestCase;
|
|||||||
* <p>
|
* <p>
|
||||||
* Note that parentFirst=true is used in this test because method
|
* Note that parentFirst=true is used in this test because method
|
||||||
* {@code PathableClassLoader.getResources} always behaves as if
|
* {@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 {
|
public class PriorityConfigTestCase extends TestCase {
|
||||||
|
|||||||
Reference in New Issue
Block a user