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


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

commit d21f7e66f90c1d369b5407b53719767b1d905cc8
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Jan 21 17:12:44 2025 +0000

    Remove deprecated code
---
 java/org/apache/tomcat/util/buf/UDecoder.java | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/java/org/apache/tomcat/util/buf/UDecoder.java 
b/java/org/apache/tomcat/util/buf/UDecoder.java
index 3a1fa6edbf..0cc1c1bd08 100644
--- a/java/org/apache/tomcat/util/buf/UDecoder.java
+++ b/java/org/apache/tomcat/util/buf/UDecoder.java
@@ -79,24 +79,6 @@ public final class UDecoder {
     }
 
 
-    /**
-     * URLDecode, will modify the source. Assumes source bytes are encoded 
using a superset of US-ASCII as per RFC 7230.
-     *
-     * @param mb                     The URL encoded bytes
-     * @param encodedSolidusHandling How should the %2f sequence handled by 
the decoder? For query strings this
-     *                                   parameter will be ignored and the %2f 
sequence will be decoded
-     *
-     * @throws IOException Invalid %xx URL encoding
-     *
-     * @deprecated Unused. Will be removed in Tomcat 12. Use
-     *                 {@link #convert(ByteChunk, EncodedSolidusHandling, 
EncodedSolidusHandling)}
-     */
-    @Deprecated
-    public void convert(ByteChunk mb, EncodedSolidusHandling 
encodedSolidusHandling) throws IOException {
-        convert(mb, false, encodedSolidusHandling, 
EncodedSolidusHandling.DECODE);
-    }
-
-
     /**
      * URLDecode, will modify the source. Assumes source bytes are encoded 
using a superset of US-ASCII as per RFC 7230.
      *


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

Reply via email to