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

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

commit 1ddcd538a8b2328d02e98cb9d207940256a19f5e
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Apr 19 19:16:07 2024 +0100

    Remove deprecated code
---
 java/org/apache/tomcat/util/net/Acceptor.java | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/java/org/apache/tomcat/util/net/Acceptor.java 
b/java/org/apache/tomcat/util/net/Acceptor.java
index d8deb8cb26..d570bda50b 100644
--- a/java/org/apache/tomcat/util/net/Acceptor.java
+++ b/java/org/apache/tomcat/util/net/Acceptor.java
@@ -164,22 +164,6 @@ public class Acceptor<U> implements Runnable {
     }
 
 
-    /**
-     * Signals the Acceptor to stop, optionally waiting for that stop process
-     * to complete before returning. If a wait is requested and the stop does
-     * not complete in that time a warning will be logged.
-     *
-     * @param waitSeconds The time to wait in seconds. Use a value less than
-     *                    zero for no wait.
-     *
-     * @deprecated Unused. Will be remove in Tomcat 11 onwards.
-     */
-    @Deprecated
-    public void stop(int waitSeconds) {
-        stopMillis(waitSeconds * 1000);
-    }
-
-
     public void stopMillis(int waitMilliseconds) {
         stopCalled = true;
         if (waitMilliseconds > 0) {


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

Reply via email to