This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-logging.git
commit 539ac1cae7010bfca8e1d0c9828405c066efe4af Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Nov 19 11:55:11 2023 -0500 Camcel-case internal names --- src/main/java/org/apache/commons/logging/LogSource.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/apache/commons/logging/LogSource.java b/src/main/java/org/apache/commons/logging/LogSource.java index 7652ee4..b80cc32 100644 --- a/src/main/java/org/apache/commons/logging/LogSource.java +++ b/src/main/java/org/apache/commons/logging/LogSource.java @@ -199,7 +199,7 @@ public class LogSource { * Sets the log implementation/log implementation factory by class. The given class must implement {@link Log}, and provide a constructor that takes a single * {@link String} argument (containing the name of the log). * - * @param logclass class. + * @param logClass class. * @throws LinkageError if there is missing dependency. * @throws ExceptionInInitializerError unexpected exception has occurred in a static initializer. * @throws NoSuchMethodException if a matching method is not found. @@ -207,11 +207,11 @@ public class LogSource { * class loader for the current class and invocation of {@link SecurityManager#checkPackageAccess * s.checkPackageAccess()} denies access to the package of this class. */ - static public void setLogImplementation(final Class logclass) + static public void setLogImplementation(final Class logClass) throws LinkageError, ExceptionInInitializerError, NoSuchMethodException, SecurityException { - final Class[] argtypes = new Class[1]; - argtypes[0] = "".getClass(); - logImplctor = logclass.getConstructor(argtypes); + final Class[] argTypes = new Class[1]; + argTypes[0] = "".getClass(); + logImplctor = logClass.getConstructor(argTypes); } /**