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

markt-asf 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 9b3c31dc4f Trivial clean-up
9b3c31dc4f is described below

commit 9b3c31dc4f62dd840869953620fbd1e3aa3e377a
Author: Mark Thomas <[email protected]>
AuthorDate: Tue May 26 14:19:40 2026 +0100

    Trivial clean-up
---
 java/org/apache/catalina/deploy/NamingResourcesImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/deploy/NamingResourcesImpl.java 
b/java/org/apache/catalina/deploy/NamingResourcesImpl.java
index c07f572010..ff0e38bf3e 100644
--- a/java/org/apache/catalina/deploy/NamingResourcesImpl.java
+++ b/java/org/apache/catalina/deploy/NamingResourcesImpl.java
@@ -250,7 +250,7 @@ public class NamingResourcesImpl extends LifecycleMBeanBase 
implements Serializa
                 if (server == null) {
                     return;
                 }
-                NamingResourcesImpl global = 
getServer().getGlobalNamingResources();
+                NamingResourcesImpl global = server.getGlobalNamingResources();
                 if (global.findEnvironment(rl.getGlobal()) != null) {
                     if (global.findEnvironment(rl.getGlobal()).getOverride()) {
                         removeResourceLink(environment.getName());


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to