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 2022/06/16 18:48:53 UTC
[tomcat] branch 9.0.x updated: Deprecated unused attribute.
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 2111776ac8 Deprecated unused attribute.
2111776ac8 is described below
commit 2111776ac8e9f904afef24afa9f642d683e5b218
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jun 16 19:48:10 2022 +0100
Deprecated unused attribute.
---
java/org/apache/catalina/core/StandardContext.java | 18 ++++++++++++++++++
java/org/apache/catalina/core/mbeans-descriptors.xml | 2 +-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/core/StandardContext.java b/java/org/apache/catalina/core/StandardContext.java
index afe45f22e9..bb15fa9d81 100644
--- a/java/org/apache/catalina/core/StandardContext.java
+++ b/java/org/apache/catalina/core/StandardContext.java
@@ -6458,10 +6458,28 @@ public class StandardContext extends ContainerBase
return this.server=server;
}
+ /**
+ * Unused.
+ *
+ * @return The current array.
+ *
+ * @deprecated Unused. Will be removed in Tomcat 10.1.
+ */
+ @Deprecated
public String[] getJavaVMs() {
return javaVMs;
}
+ /**
+ * Unused.
+ *
+ * @param javaVMs The new value for the array.
+ *
+ * @return The new value for the array.
+ *
+ * @deprecated Unused. Will be removed in Tomcat 10.1.
+ */
+ @Deprecated
public String[] setJavaVMs(String[] javaVMs) {
return this.javaVMs = javaVMs;
}
diff --git a/java/org/apache/catalina/core/mbeans-descriptors.xml b/java/org/apache/catalina/core/mbeans-descriptors.xml
index b329a0331a..7a820432a6 100644
--- a/java/org/apache/catalina/core/mbeans-descriptors.xml
+++ b/java/org/apache/catalina/core/mbeans-descriptors.xml
@@ -156,7 +156,7 @@
type="org.apache.tomcat.InstanceManager" />
<attribute name="javaVMs"
- description="The Java virtual machines on which this module is running"
+ description="Deprecated. Will be removed in Tomact 10.1. The Java virtual machines on which this module is running"
type="[Ljava.lang.String;"/>
<attribute name="loader"
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org