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

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


The following commit(s) were added to refs/heads/main by this push:
     new 425adb681e Remove deprecated code
425adb681e is described below

commit 425adb681e957ba917bef0ad797541c74662225b
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Oct 30 12:42:04 2026 +0000

    Remove deprecated code
---
 .../apache/catalina/tribes/transport/ReceiverBase.java | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/java/org/apache/catalina/tribes/transport/ReceiverBase.java 
b/java/org/apache/catalina/tribes/transport/ReceiverBase.java
index 7a31d3d19c..f8d4fc7d29 100644
--- a/java/org/apache/catalina/tribes/transport/ReceiverBase.java
+++ b/java/org/apache/catalina/tribes/transport/ReceiverBase.java
@@ -250,24 +250,6 @@ public abstract class ReceiverBase implements 
ChannelReceiver, ListenCallback, R
         return address;
     }
 
-    /**
-     * Attempts to bind using the provided port and if that fails attempts to 
bind to each of the ports from portstart
-     * to (portstart + retries -1) until either there are no more ports or the 
bind is successful. The address to bind
-     * to is obtained via a call to {@link #resolveBind()}.
-     *
-     * @param socket    The socket to bind
-     * @param portstart Starting port for bind attempts
-     * @param retries   Number of times to attempt to bind (port incremented 
between attempts)
-     *
-     * @throws IOException Socket bind error
-     *
-     * @deprecated Use {@link #bind(ServerSocket, int, int, boolean)}. This 
method will be removed in Tomcat 12.
-     */
-    @Deprecated
-    protected void bind(ServerSocket socket, int portstart, int retries) 
throws IOException {
-        bind(socket, portstart, retries, false);
-    }
-
     /**
      * Attempts to bind using the provided port and if that fails attempts to 
bind to each of the ports from portstart
      * to (portstart + retries -1) until either there are no more ports or the 
bind is successful. The address to bind


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to