From 6fe4acb5bcff9078ccc2f27f3669a1fa7e0ee549 Mon Sep 17 00:00:00 2001 From: markt Date: Fri, 11 Feb 2011 15:27:06 +0000 Subject: [PATCH] Remove unused deprecated method git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1069835 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/catalina/startup/ExpandWar.java | 21 --------------------- 1 file changed, 21 deletions(-) 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 -- 2.11.0