From: markt Date: Mon, 8 Jun 2009 20:25:34 +0000 (+0000) Subject: Remove a deprecated method X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=23408833332a3930d9d2b0134dac33bc0effadc8;p=tomcat7.0 Remove a deprecated method git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@782770 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/ssi/SSIServletRequestUtil.java b/java/org/apache/catalina/ssi/SSIServletRequestUtil.java index 59d3b0de1..ed3d7db2d 100644 --- a/java/org/apache/catalina/ssi/SSIServletRequestUtil.java +++ b/java/org/apache/catalina/ssi/SSIServletRequestUtil.java @@ -50,22 +50,4 @@ public class SSIServletRequestUtil { return RequestUtil.normalize(result); } - - /** - * Return a context-relative path, beginning with a "/", that represents - * the canonical version of the specified path after ".." and "." elements - * are resolved out. If the specified path attempts to go outside the - * boundaries of the current context (i.e. too many ".." path elements are - * present), return null instead. This normalize should be - * the same as DefaultServlet.normalize, which is almost the same ( see - * source code below ) as RequestUtil.normalize. Do we need all this - * duplication? - * - * @param path - * Path to be normalized - * @deprecated - */ - public static String normalize(String path) { - return RequestUtil.normalize(path); - } } \ No newline at end of file