From 11f4c92f4bf53c223f9ddb7145e29be62582918e Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 7 Sep 2011 20:37:33 +0000 Subject: [PATCH] remove unused imports and methos git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166393 13f79535-47bb-0310-9956-ffa450edef68 --- .../proxy/DeleteProxyConnectorAction.java | 1 - .../AbstractRepositoriesAdminAction.java | 15 --------------- 2 files changed, 16 deletions(-) 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; -- 2.39.5