This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new a57be12b90 Deprecate unused code
a57be12b90 is described below
commit a57be12b900c72203546f6c0bd411ca51e6d731d
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Aug 27 10:24:38 2026 +0100
Deprecate unused code
---
java/org/apache/tomcat/jni/SSL.java | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/java/org/apache/tomcat/jni/SSL.java
b/java/org/apache/tomcat/jni/SSL.java
index 0b3e3e8ae1..c11bcdf13b 100644
--- a/java/org/apache/tomcat/jni/SSL.java
+++ b/java/org/apache/tomcat/jni/SSL.java
@@ -463,19 +463,31 @@ public final class SSL {
/**
* Shutdown type unset.
+ *
+ * @deprecated Unused. Will be removed in Tomcat 12 onwards.
*/
+ @Deprecated
public static final int SSL_SHUTDOWN_TYPE_UNSET = 0;
/**
* Standard shutdown type.
+ *
+ * @deprecated Unused. Will be removed in Tomcat 12 onwards.
*/
+ @Deprecated
public static final int SSL_SHUTDOWN_TYPE_STANDARD = 1;
/**
* Unclean shutdown type.
+ *
+ * @deprecated Unused. Will be removed in Tomcat 12 onwards.
*/
+ @Deprecated
public static final int SSL_SHUTDOWN_TYPE_UNCLEAN = 2;
/**
* Accurate shutdown type.
+ *
+ * @deprecated Unused. Will be removed in Tomcat 12 onwards.
*/
+ @Deprecated
public static final int SSL_SHUTDOWN_TYPE_ACCURATE = 3;
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]