This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new fd92cb91ba Code clean-up - no functional change. Use 'e' for exception
not 't'
fd92cb91ba is described below
commit fd92cb91ba46618b91f8997be3be3f37637c513a
Author: Mark Thomas <[email protected]>
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 53d8f3eeb6..cd87fadb28 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: [email protected]
For additional commands, e-mail: [email protected]