This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new 008b050 Clean-up. Remove unused code. 008b050 is described below commit 008b0503c40f500e2e2c7cda338810c9f6bae522 Author: Mark Thomas <ma...@apache.org> AuthorDate: Tue Apr 23 11:02:36 2019 +0100 Clean-up. Remove unused code. A helpful side-effect of this change is that the creation of the Registry is delayed until the Server container is initialised. --- .../apache/catalina/mbeans/GlobalResourcesLifecycleListener.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/java/org/apache/catalina/mbeans/GlobalResourcesLifecycleListener.java b/java/org/apache/catalina/mbeans/GlobalResourcesLifecycleListener.java index b11a925..59db8f2 100644 --- a/java/org/apache/catalina/mbeans/GlobalResourcesLifecycleListener.java +++ b/java/org/apache/catalina/mbeans/GlobalResourcesLifecycleListener.java @@ -36,7 +36,6 @@ import org.apache.catalina.User; import org.apache.catalina.UserDatabase; import org.apache.juli.logging.Log; import org.apache.juli.logging.LogFactory; -import org.apache.tomcat.util.modeler.Registry; import org.apache.tomcat.util.res.StringManager; @@ -62,12 +61,6 @@ public class GlobalResourcesLifecycleListener implements LifecycleListener { protected Lifecycle component = null; - /** - * The configuration information registry for our managed beans. - */ - protected static final Registry registry = MBeanUtils.createRegistry(); - - // ---------------------------------------------- LifecycleListener Methods /** --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org