Remove unused deprecated method
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 11 Feb 2011 15:27:06 +0000 (15:27 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 11 Feb 2011 15:27:06 +0000 (15:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1069835 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/startup/ExpandWar.java

index 80f14ff..43f34d3 100644 (file)
@@ -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