tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1754142 - /tomcat/trunk/java/org/apache/catalina/util/URLEncoder.java
Date Tue, 26 Jul 2016 15:33:14 GMT
Author: markt
Date: Tue Jul 26 15:33:14 2016
New Revision: 1754142

URL: http://svn.apache.org/viewvc?rev=1754142&view=rev
Log:
Remove deprecated code

Modified:
    tomcat/trunk/java/org/apache/catalina/util/URLEncoder.java

Modified: tomcat/trunk/java/org/apache/catalina/util/URLEncoder.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/util/URLEncoder.java?rev=1754142&r1=1754141&r2=1754142&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/util/URLEncoder.java (original)
+++ tomcat/trunk/java/org/apache/catalina/util/URLEncoder.java Tue Jul 26 15:33:14 2016
@@ -69,21 +69,6 @@ public class URLEncoder {
 
 
     /**
-     * URL encodes the provided path using UTF-8.
-     *
-     * @param path The path to encode
-     *
-     * @return The encoded path
-     *
-     * @deprecated Use {@link #encode(String, String)}
-     */
-    @Deprecated
-    public String encode(String path) {
-        return encode(path, "UTF-8");
-    }
-
-
-    /**
      * URL encodes the provided path using the given encoding.
      *
      * @param path      The path to encode



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


Mime
View raw message