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 7ce3866b16f4d515089e9595b49958ddf21c98cc
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Nov 19 16:11:36 2023 -0500

    Fix compiler warning
---
 src/main/java/org/apache/commons/logging/LogFactory.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/logging/LogFactory.java 
b/src/main/java/org/apache/commons/logging/LogFactory.java
index 9a7dd3f..17f5e26 100644
--- a/src/main/java/org/apache/commons/logging/LogFactory.java
+++ b/src/main/java/org/apache/commons/logging/LogFactory.java
@@ -955,7 +955,7 @@ public abstract class LogFactory {
      * @return a named logger.
      * @throws LogConfigurationException if a suitable {@code Log} instance 
cannot be returned
      */
-    public static Log getLog(final Class clazz) throws 
LogConfigurationException {
+    public static Log getLog(final Class<?> clazz) throws 
LogConfigurationException {
         return getFactory().getInstance(clazz);
     }
 
@@ -1220,7 +1220,7 @@ public abstract class LogFactory {
      * @param clazz is the class whose classloader + tree are to be
      * output.
      */
-    private static void logClassLoaderEnvironment(final Class clazz) {
+    private static void logClassLoaderEnvironment(final Class<?> clazz) {
         if (!isDiagnosticsEnabled()) {
             return;
         }
@@ -1536,7 +1536,7 @@ public abstract class LogFactory {
      * @return a name from the specified class.
      * @throws LogConfigurationException if a suitable {@code Log} instance 
cannot be returned
      */
-    public abstract Log getInstance(Class clazz) throws 
LogConfigurationException;
+    public abstract Log getInstance(Class<?> clazz) throws 
LogConfigurationException;
 
     /**
      * Constructs (if necessary) and return a {@code Log} instance, using the 
factory's current set of configuration attributes.

Reply via email to