From: markt Date: Fri, 11 Feb 2011 15:27:06 +0000 (+0000) Subject: Remove unused deprecated method X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6fe4acb5bcff9078ccc2f27f3669a1fa7e0ee549;p=tomcat7.0 Remove unused deprecated method git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1069835 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/startup/ExpandWar.java b/java/org/apache/catalina/startup/ExpandWar.java index 80f14ff4f..43f34d3f5 100644 --- a/java/org/apache/catalina/startup/ExpandWar.java +++ b/java/org/apache/catalina/startup/ExpandWar.java @@ -389,27 +389,6 @@ public class ExpandWar { /** - * Expand the specified input stream into the specified directory, creating - * a file named from the specified relative path. - * - * @param input InputStream to be copied - * @param docBase Document base directory into which we are expanding - * @param name Relative pathname of the file to be created - * @return A handle to the expanded File - * - * @exception IOException if an input/output error occurs - * - * @deprecated - */ - protected static File expand(InputStream input, File docBase, String name) - throws IOException { - File file = new File(docBase, name); - expand(input, file); - return file; - } - - - /** * Expand the specified input stream into the specified file. * * @param input InputStream to be copied