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 6aa5d9c9e6 Remove deprecated code
6aa5d9c9e6 is described below

commit 6aa5d9c9e6a57f77c5a0e2ac2ff5ad2b601327fd
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Oct 23 10:46:03 2026 +0100

    Remove deprecated code
---
 .../catalina/tribes/tipis/AbstractReplicatedMap.java       | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java 
b/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
index 78850f6b58..ad05a5b4c7 100644
--- a/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
+++ b/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
@@ -1140,20 +1140,6 @@ public abstract class AbstractReplicatedMap<K, V>
         }
     }
 
-    /**
-     * Gets the next backup index using round-robin rotation.
-     *
-     * @return The next backup index, or -1 if no members exist
-     *
-     * @deprecated Unused. Will be removed in Tomcat 12
-     */
-    @Deprecated
-    public int getNextBackupIndex() {
-        synchronized (mapMembers) {
-            return getNextBackupIndex(mapMembers.size());
-        }
-    }
-
     /**
      * Gets the next backup index using round-robin rotation, for a list of 
the given size. Use this variant with the
      * size of a snapshot of the members so that the index is always within 
that snapshot, even if members are added


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

Reply via email to