From 09aad58385de2a496b71012ff3e63b0da567393e Mon Sep 17 00:00:00 2001
From: Gary Gregory
* @param c1 is a class loader (including the null class loader) * @param c2 is a class loader (including the null class loader) - * * @return c1 if it has c2 as an ancestor, c2 if it has c1 as an ancestor, * and null if neither is an ancestor of the other. */ @@ -956,7 +952,6 @@ public class LogFactoryImpl extends LogFactory { * @param logAdapterClassName is the class name of the Log implementation * that could not be instantiated. Cannot be {@code null}. * @param discoveryFlaw is the Throwable created by the class loader - * * @throws LogConfigurationException ALWAYS */ private void handleFlawedDiscovery(final String logAdapterClassName, @@ -1191,7 +1186,6 @@ public class LogFactoryImpl extends LogFactory { * which is required by Jdk14Logger. * * @return Whether JDK 1.4 or later logging is available. - * * @deprecated Never invoked by this class; subclasses should not assume it will be. */ @Deprecated @@ -1203,7 +1197,6 @@ public class LogFactoryImpl extends LogFactory { * Tests whether a Log4J implementation available. * * @return whether a Log4J implementation available. - * * @deprecated Never invoked by this class; subclasses should not assume it will be. */ @Deprecated @@ -1262,7 +1255,6 @@ public class LogFactoryImpl extends LogFactory { * * @param name Name of the new logger * @return a new {@link org.apache.commons.logging.Log} - * * @throws LogConfigurationException if a new instance cannot be created */ protected Log newInstance(final String name) throws LogConfigurationException { diff --git a/src/test/java/org/apache/commons/logging/log4j/StandardTests.java b/src/test/java/org/apache/commons/logging/log4j/StandardTests.java index b9f66be..3f95059 100644 --- a/src/test/java/org/apache/commons/logging/log4j/StandardTests.java +++ b/src/test/java/org/apache/commons/logging/log4j/StandardTests.java @@ -59,7 +59,6 @@ public abstract class StandardTests extends TestCase { * * * @param logEvents is the list of log events received. - * * @param thrown False if logPlainMessages was called * (ie the TestAppender is expected to have received * logevents with no associated exception info). True if