Remove unused method that introduced an additional parameter that was then ignored.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 16 Apr 2009 10:07:07 +0000 (10:07 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 16 Apr 2009 10:07:07 +0000 (10:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@765555 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/startup/ClassLoaderFactory.java

index 2827b06..d140dae 100644 (file)
@@ -79,34 +79,6 @@ public final class ClassLoaderFactory {
                                                 File packed[],
                                                 ClassLoader parent)
         throws Exception {
-        return createClassLoader(unpacked, packed, null, parent);
-    }
-
-
-    /**
-     * Create and return a new class loader, based on the configuration
-     * defaults and the specified directory paths:
-     *
-     * @param unpacked Array of pathnames to unpacked directories that should
-     *  be added to the repositories of the class loader, or <code>null</code> 
-     * for no unpacked directories to be considered
-     * @param packed Array of pathnames to directories containing JAR files
-     *  that should be added to the repositories of the class loader, 
-     * or <code>null</code> for no directories of JAR files to be considered
-     * @param urls Array of URLs to remote repositories, designing either JAR 
-     *  resources or uncompressed directories that should be added to 
-     *  the repositories of the class loader, or <code>null</code> for no 
-     *  directories of JAR files to be considered
-     * @param parent Parent class loader for the new class loader, or
-     *  <code>null</code> for the system class loader.
-     *
-     * @exception Exception if an error occurs constructing the class loader
-     */
-    public static ClassLoader createClassLoader(File unpacked[],
-                                                File packed[],
-                                                URL urls[],
-                                                ClassLoader parent)
-        throws Exception {
 
         if (log.isDebugEnabled())
             log.debug("Creating new class loader");