This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 86b8bfacf8 Trivial clean-up
86b8bfacf8 is described below
commit 86b8bfacf80c3b938d0910ae9514eba41fbec75c
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]