1
0

Fix spelling

This commit is contained in:
Gary Gregory
2022-10-22 16:32:28 -04:00
parent b83b31411a
commit 10377b63fa

View File

@@ -76,12 +76,12 @@ public class LoadTestCase extends TestCase{
} }
// not very trivial to emulate we must implement "findClass", // not very trivial to emulate we must implement "findClass",
// but it will delegete to junit class loder first // but it will delegate to JUnit class loader first
@Override @Override
public Class loadClass(final String name) throws ClassNotFoundException { public Class loadClass(final String name) throws ClassNotFoundException {
// isolates all logging classes, application in the same classloader too. // isolates all logging classes, application in the same classloader too.
// filters exceptions to simlify handling in test // filters exceptions to simplify handling in test
for (final String element : LOG_PCKG) { for (final String element : LOG_PCKG) {
if (name.startsWith(element) && name.indexOf("Exception") == -1) { if (name.startsWith(element) && name.indexOf("Exception") == -1) {
return def(name); return def(name);