This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new 9d2cc35f01 Code clean-up - no functional change. Use 'e' for exception not 't' 9d2cc35f01 is described below commit 9d2cc35f01efd9f6238db65d7825768f8a0d4ec9 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 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org