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

markt 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 342767de1e Remove deprecated code marked for removal in Tomcat 11
342767de1e is described below

commit 342767de1e2e9de757d4541f3780bd4c5ed5247d
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Mar 20 13:28:03 2025 +0000

    Remove deprecated code marked for removal in Tomcat 11
---
 java/org/apache/tomcat/util/http/parser/Cookie.java | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/java/org/apache/tomcat/util/http/parser/Cookie.java 
b/java/org/apache/tomcat/util/http/parser/Cookie.java
index 3961bdf28c..4ed2d65327 100644
--- a/java/org/apache/tomcat/util/http/parser/Cookie.java
+++ b/java/org/apache/tomcat/util/http/parser/Cookie.java
@@ -82,22 +82,6 @@ public class Cookie {
     }
 
 
-    /**
-     * Parse byte array as cookie header.
-     *
-     * @param bytes         Source
-     * @param offset        Start point in array
-     * @param len           Number of bytes to read
-     * @param serverCookies Structure to store results
-     *
-     * @deprecated Unused. This method will be removed in Tomcat 11 onwards.
-     */
-    @Deprecated
-    public static void parseCookie(byte[] bytes, int offset, int len, 
ServerCookies serverCookies) {
-        parseCookie(bytes, offset, len, serverCookies, 
CookiesWithoutEquals.NAME);
-    }
-
-
     /**
      * Parse byte array as cookie header.
      *


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

Reply via email to