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

commit a1df69915518fe4a811cc491269d9e5d827ce19e
Author: Mark Thomas <[email protected]>
AuthorDate: Fri May 1 09:50:47 2026 +0100

    Remove deprecated code
---
 java/org/apache/coyote/http2/HPackHuffman.java | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/java/org/apache/coyote/http2/HPackHuffman.java 
b/java/org/apache/coyote/http2/HPackHuffman.java
index ffc684e1d8..54180c7fba 100644
--- a/java/org/apache/coyote/http2/HPackHuffman.java
+++ b/java/org/apache/coyote/http2/HPackHuffman.java
@@ -363,23 +363,6 @@ public class HPackHuffman {
         DECODING_TABLE = codingTree;
     }
 
-    /**
-     * Decodes a huffman encoded string into the target StringBuilder. There 
must be enough space left in the buffer for
-     * this method to succeed.
-     *
-     * @param data   The byte buffer
-     * @param length The length of data from the buffer to decode
-     * @param target The target for the decompressed data
-     *
-     * @throws HpackException If the Huffman encoded value in HPACK headers 
did not end with EOS padding
-     *
-     * @deprecated Will be removed in Tomcat 12. Use {@link 
#decode(ByteBuffer, int, StringBuilder, boolean)}
-     */
-    @Deprecated
-    public static void decode(ByteBuffer data, int length, StringBuilder 
target) throws HpackException {
-        decode(data, length, target, false);
-    }
-
     /**
      * Decodes a huffman encoded string into the target StringBuilder. There 
must be enough space left in the buffer for
      * this method to succeed.


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

Reply via email to