1
0

Normalize to US English spelling.

This commit is contained in:
Gary Gregory
2021-02-08 14:06:20 -05:00
parent f4fdecd778
commit 610117ab32
2 changed files with 4 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ public class ServletContextCleaner implements ServletContextListener {
// the LogFactory instance that is visible from the ancestor // the LogFactory instance that is visible from the ancestor
// classloader. However the concrete logging library it points // classloader. However the concrete logging library it points
// to is expected to have been loaded via the TCCL, so the // to is expected to have been loaded via the TCCL, so the
// underlying logging lib is only initialised/configured once. // underlying logging lib is only initialized/configured once.
// These references from ancestor LogFactory classes down to // These references from ancestor LogFactory classes down to
// TCCL classloaders are held via weak references and so should // TCCL classloaders are held via weak references and so should
// be released but there are circumstances where they may not. // be released but there are circumstances where they may not.

View File

@@ -49,7 +49,7 @@ public class AltHashtableTestCase extends TestCase {
* <p> * <p>
* This does make the assumption that whatever JVM we are running in * This does make the assumption that whatever JVM we are running in
* doesn't initialise classes until they are actually referenced (ie the * doesn't initialise classes until they are actually referenced (ie the
* LogFactory class hasn't been initialised before this method is called). * LogFactory class hasn't been initialized before this method is called).
* This is true of all JVMs I know of; and if it isn't then this test will * This is true of all JVMs I know of; and if it isn't then this test will
* fail and someone will tell us. * fail and someone will tell us.
*/ */
@@ -67,10 +67,10 @@ public class AltHashtableTestCase extends TestCase {
*/ */
public void testType() { public void testType() {
// Here, the reference to the LogFactory class should cause the // Here, the reference to the LogFactory class should cause the
// class to be loaded and initialised. It will see the property // class to be loaded and initialized. It will see the property
// set and use the AltHashtable class. If other tests in this // set and use the AltHashtable class. If other tests in this
// class have already been run within the same classloader then // class have already been run within the same classloader then
// LogFactory will already have been initialised, but that // LogFactory will already have been initialized, but that
// doesn't change the effectiveness of this test. // doesn't change the effectiveness of this test.
assertTrue(LogFactory.factories instanceof AltHashtable); assertTrue(LogFactory.factories instanceof AltHashtable);
} }