From: Olivier Lamy Date: Wed, 7 Sep 2011 20:37:33 +0000 (+0000) Subject: remove unused imports and methos X-Git-Tag: archiva-1.4-M1~361 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=11f4c92f4bf53c223f9ddb7145e29be62582918e;p=archiva.git remove unused imports and methos git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166393 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/DeleteProxyConnectorAction.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/DeleteProxyConnectorAction.java index d0ec3885d..589892ebc 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/DeleteProxyConnectorAction.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/DeleteProxyConnectorAction.java @@ -21,7 +21,6 @@ package org.apache.maven.archiva.web.action.admin.connectors.proxy; import org.apache.archiva.admin.repository.RepositoryAdminException; import org.apache.archiva.admin.repository.proxyconnector.ProxyConnector; -import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Controller; diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/AbstractRepositoriesAdminAction.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/AbstractRepositoriesAdminAction.java index 43b3f9051..5f8ffeab4 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/AbstractRepositoriesAdminAction.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/AbstractRepositoriesAdminAction.java @@ -27,7 +27,6 @@ import org.apache.maven.archiva.configuration.ArchivaConfiguration; import org.apache.maven.archiva.configuration.Configuration; import org.apache.maven.archiva.configuration.IndeterminateConfigurationException; import org.apache.maven.archiva.configuration.InvalidConfigurationException; -import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration; import org.apache.maven.archiva.web.action.AbstractActionSupport; import org.codehaus.plexus.redback.rbac.Resource; import org.codehaus.plexus.registry.RegistryException; @@ -37,8 +36,6 @@ import org.codehaus.redback.integration.interceptor.SecureActionException; import javax.inject.Inject; import java.io.IOException; -import java.util.ArrayList; -import java.util.List; /** * Abstract AdminRepositories Action base. @@ -113,18 +110,6 @@ public abstract class AbstractRepositoriesAdminAction return SUCCESS; } - /** - * Get the list of ProxyConnectors that are present in the configuration. - * - * @return a new list of ProxyConnectors present in the configuration. - */ - protected List getProxyConnectors() - { - return new ArrayList( - archivaConfiguration.getConfiguration().getProxyConnectors() ); - } - - public ManagedRepositoryAdmin getManagedRepositoryAdmin() { return managedRepositoryAdmin;