From: markt Date: Thu, 16 Apr 2009 10:07:07 +0000 (+0000) Subject: Remove unused method that introduced an additional parameter that was then ignored. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=83f0770fe63290c0c74e62d37e812cc97a34d75a;p=tomcat7.0 Remove unused method that introduced an additional parameter that was then ignored. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@765555 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/startup/ClassLoaderFactory.java b/java/org/apache/catalina/startup/ClassLoaderFactory.java index 2827b060d..d140dae42 100644 --- a/java/org/apache/catalina/startup/ClassLoaderFactory.java +++ b/java/org/apache/catalina/startup/ClassLoaderFactory.java @@ -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 null - * 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 null 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 null for no - * directories of JAR files to be considered - * @param parent Parent class loader for the new class loader, or - * null 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");