You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2020/01/15 11:50:03 UTC
[tomcat] branch master updated: Remove unused deprecated field
This is an automated email from the ASF dual-hosted git repository.
remm 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 6032a54 Remove unused deprecated field
6032a54 is described below
commit 6032a54ef573733e1d779f5db14882832054dceb
Author: remm <re...@apache.org>
AuthorDate: Wed Jan 15 12:49:51 2020 +0100
Remove unused deprecated field
---
java/org/apache/catalina/util/LifecycleMBeanBase.java | 5 -----
1 file changed, 5 deletions(-)
diff --git a/java/org/apache/catalina/util/LifecycleMBeanBase.java b/java/org/apache/catalina/util/LifecycleMBeanBase.java
index d20147e..186371a 100644
--- a/java/org/apache/catalina/util/LifecycleMBeanBase.java
+++ b/java/org/apache/catalina/util/LifecycleMBeanBase.java
@@ -41,8 +41,6 @@ public abstract class LifecycleMBeanBase extends LifecycleBase
/* Cache components of the MBean registration. */
private String domain = null;
private ObjectName oname = null;
- @Deprecated
- protected MBeanServer mserver = null;
/**
* Sub-classes wishing to perform additional initialization should override
@@ -54,8 +52,6 @@ public abstract class LifecycleMBeanBase extends LifecycleBase
// If oname is not null then registration has already happened via
// preRegister().
if (oname == null) {
- mserver = Registry.getRegistry(null, null).getMBeanServer();
-
oname = register(this, getObjectNameKeyProperties());
}
}
@@ -237,7 +233,6 @@ public abstract class LifecycleMBeanBase extends LifecycleBase
public final ObjectName preRegister(MBeanServer server, ObjectName name)
throws Exception {
- this.mserver = server;
this.oname = name;
this.domain = name.getDomain().intern();
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org