This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new afc6f3d684 Code clean-up - no functional change. Use 'e' for exception 
not 't'
afc6f3d684 is described below

commit afc6f3d684826cfdfea041abadd49757b156d692
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Aug 19 12:35:49 2025 +0100

    Code clean-up - no functional change. Use 'e' for exception not 't'
    
    Find and replace with Cursor
    Checked manually
---
 java/org/apache/tomcat/util/modeler/Registry.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/java/org/apache/tomcat/util/modeler/Registry.java 
b/java/org/apache/tomcat/util/modeler/Registry.java
index e09278a6f0..bb7668a8a3 100644
--- a/java/org/apache/tomcat/util/modeler/Registry.java
+++ b/java/org/apache/tomcat/util/modeler/Registry.java
@@ -238,11 +238,11 @@ public class Registry implements RegistryMBean, 
MBeanRegistration {
                 }
                 getMBeanServer().invoke(current, operation, new Object[] {}, 
new String[] {});
 
-            } catch (Exception t) {
+            } catch (Exception e) {
                 if (failFirst) {
-                    throw t;
+                    throw e;
                 }
-                log.info(sm.getString("registry.initError"), t);
+                log.info(sm.getString("registry.initError"), e);
             }
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to