You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/07/27 12:13:04 UTC

[tomcat] branch 9.0.x updated: Restore use of guard which was accidently removed in a previous clean up

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 3a9e204  Restore use of guard which was accidently removed in a previous clean up
3a9e204 is described below

commit 3a9e20420fbec39b959836dea24f007e14bd4bff
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Jul 27 13:11:47 2021 +0100

    Restore use of guard which was accidently removed in a previous clean up
    
    Clean up was in 8b888234
---
 java/org/apache/tomcat/util/modeler/Registry.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/org/apache/tomcat/util/modeler/Registry.java b/java/org/apache/tomcat/util/modeler/Registry.java
index 7ef9ad7..e98a598 100644
--- a/java/org/apache/tomcat/util/modeler/Registry.java
+++ b/java/org/apache/tomcat/util/modeler/Registry.java
@@ -141,6 +141,7 @@ public class Registry implements RegistryMBean, MBeanRegistration {
             } else {
                 registry = new Registry();
             }
+            registry.guard = guard;
         }
         if (registry.guard != null && registry.guard != guard) {
             return null;

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