This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 12e4d8e17e7628deaabb7f2a433d465ce7dcaa01 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Mar 16 16:03:33 2020 +0000 Remove deprecated code --- java/org/apache/tomcat/util/buf/UDecoder.java | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/java/org/apache/tomcat/util/buf/UDecoder.java b/java/org/apache/tomcat/util/buf/UDecoder.java index 712e869..3e063c1 100644 --- a/java/org/apache/tomcat/util/buf/UDecoder.java +++ b/java/org/apache/tomcat/util/buf/UDecoder.java @@ -289,25 +289,6 @@ public final class UDecoder { /** - * Decode and return the specified URL-encoded String. - * When the byte array is converted to a string, UTF-8 is used. This may - * be different than some other servers. It is assumed the string is not a - * query string. - * - * @param str The url-encoded string - * @return the decoded string - * @exception IllegalArgumentException if a '%' character is not followed - * by a valid 2-digit hexadecimal number - * - * @deprecated Unused. This will be removed in Tomcat 10 onwards - */ - @Deprecated - public static String URLDecode(String str) { - return URLDecode(str, StandardCharsets.UTF_8); - } - - - /** * Decode and return the specified URL-encoded String. It is assumed the * string is not a query string. * --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org