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;