tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1239049 - /tomcat/trunk/java/org/apache/catalina/util/RequestUtil.java
Date Wed, 01 Feb 2012 10:47:59 GMT
Author: markt
Date: Wed Feb  1 10:47:58 2012
New Revision: 1239049

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

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

Modified: tomcat/trunk/java/org/apache/catalina/util/RequestUtil.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/util/RequestUtil.java?rev=1239049&r1=1239048&r2=1239049&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/util/RequestUtil.java (original)
+++ tomcat/trunk/java/org/apache/catalina/util/RequestUtil.java Wed Feb  1 10:47:58 2012
@@ -84,46 +84,6 @@ public final class RequestUtil {
 
 
     /**
-     * Normalize a relative URI path that may have relative values ("/./",
-     * "/../", and so on ) it it.  <strong>WARNING</strong> - This method is
-     * useful only for normalizing application-generated paths.  It does not
-     * try to perform security checks for malicious input.
-     *
-     * @param path Relative path to be normalized
-     *
-     * @deprecated Deprecated to resolve a circular package dependency and will
-     *             be removed in Tomcat 8.0.x. Use {@link
-     *             org.apache.tomcat.util.http.RequestUtil#normalize(String)} as
-     *             a replacement.
-     */
-    @Deprecated
-    public static String normalize(String path) {
-        return org.apache.tomcat.util.http.RequestUtil.normalize(path);
-    }
-
-
-    /**
-     * Normalize a relative URI path that may have relative values ("/./",
-     * "/../", and so on ) it it.  <strong>WARNING</strong> - This method is
-     * useful only for normalizing application-generated paths.  It does not
-     * try to perform security checks for malicious input.
-     *
-     * @param path Relative path to be normalized
-     * @param replaceBackSlash Should '\\' be replaced with '/'
-     *
-     * @deprecated Deprecated to resolve a circular package dependency and will
-     *             be removed in Tomcat 8.0.x. Use {@link
-     *             org.apache.tomcat.util.http.RequestUtil#normalize(String,
-     *             boolean)} as a replacement.
-     */
-    @Deprecated
-    public static String normalize(String path, boolean replaceBackSlash) {
-        return org.apache.tomcat.util.http.RequestUtil.normalize(path,
-                replaceBackSlash);
-    }
-
-
-    /**
      * Append request parameters from the specified String to the specified
      * Map.  It is presumed that the specified Map is not accessed from any
      * other thread, so no synchronization is performed.



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


Mime
View raw message