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 d262d0986eb994934be4c26df9351d99444486a2
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Nov 20 09:46:16 2023 -0500

    Document empty blocks
---
 src/main/java/org/apache/commons/logging/LogSource.java | 11 ++++++-----
 1 file changed, 6 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 5a02c34..60d14b1 100644
--- a/src/main/java/org/apache/commons/logging/LogSource.java
+++ b/src/main/java/org/apache/commons/logging/LogSource.java
@@ -97,7 +97,8 @@ public class LogSource {
             if (name == null) {
                 name = System.getProperty("org.apache.commons.logging.Log");
             }
-        } catch (final Throwable t) {
+        } catch (final Throwable ignore) {
+            // Ignore
         }
         if (name != null) {
             try {
@@ -105,8 +106,8 @@ public class LogSource {
             } catch (final Throwable t) {
                 try {
                     
setLogImplementation("org.apache.commons.logging.impl.NoOpLog");
-                } catch (final Throwable u) {
-                    // ignored
+                } catch (final Throwable ignore) {
+                    // Ignore
                 }
             }
         } else {
@@ -121,8 +122,8 @@ public class LogSource {
             } catch (final Throwable t) {
                 try {
                     
setLogImplementation("org.apache.commons.logging.impl.NoOpLog");
-                } catch (final Throwable u) {
-                    // ignored
+                } catch (final Throwable ignore) {
+                    // Ignore
                 }
             }
         }

Reply via email to