From cdb9ef5ce45c9166ed2db639b178ff0d0844e93f Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 22 Oct 2023 07:50:59 -0400 Subject: [PATCH] Remove unused parameter from private method --- .../org/apache/commons/logging/impl/LogFactoryImpl.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java b/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java index fad95fe..8399d22 100644 --- a/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java +++ b/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java @@ -457,7 +457,7 @@ public class LogFactoryImpl extends LogFactory { // handleFlawedDiscovery will determine whether this is a fatal // problem or not. If it is fatal, then a LogConfigurationException // will be thrown. - handleFlawedDiscovery(logAdapterClassName, currentCL, t); + handleFlawedDiscovery(logAdapterClassName, t); } if (currentCL == null) { @@ -979,16 +979,11 @@ 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 classLoader is the classloader that we were trying to load the - * logAdapterClassName from when the exception occurred. - * * @param discoveryFlaw is the Throwable created by the classloader * * @throws LogConfigurationException ALWAYS */ private void handleFlawedDiscovery(final String logAdapterClassName, - final ClassLoader classLoader, // USED? final Throwable discoveryFlaw) { if (isDiagnosticsEnabled()) {