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/02/16 20:38:57 UTC

[tomcat] branch 10.0.x updated: Deprecate unsued field

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.0.x by this push:
     new 8a73bd4  Deprecate unsued field
8a73bd4 is described below

commit 8a73bd4a6e94c1289668d012d36b7acc328e02ec
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Feb 16 20:24:39 2022 +0000

    Deprecate unsued field
---
 java/org/apache/tomcat/util/net/AbstractEndpoint.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
index 92b392e..572901a 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -453,8 +453,12 @@ public abstract class AbstractEndpoint<S,U> {
 
 
     /**
-     * Acceptor thread count.
+     * Unused.
+     *
+     * @deprecated  This attribute is hard-coded to {@code 1} and is no longer
+     *              configurable. It will be removed in Tomcat 10.1.
      */
+    @Deprecated
     protected int acceptorThreadCount = 1;
 
 

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