remove unused imports and methos

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166393 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-09-07 20:37:33 +00:00
parent 9acde9b594
commit 11f4c92f4b
2 changed files with 0 additions and 16 deletions

View File

@ -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.RepositoryAdminException;
import org.apache.archiva.admin.repository.proxyconnector.ProxyConnector; import org.apache.archiva.admin.repository.proxyconnector.ProxyConnector;
import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
import org.springframework.context.annotation.Scope; import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;

View File

@ -27,7 +27,6 @@ import org.apache.maven.archiva.configuration.ArchivaConfiguration;
import org.apache.maven.archiva.configuration.Configuration; import org.apache.maven.archiva.configuration.Configuration;
import org.apache.maven.archiva.configuration.IndeterminateConfigurationException; import org.apache.maven.archiva.configuration.IndeterminateConfigurationException;
import org.apache.maven.archiva.configuration.InvalidConfigurationException; import org.apache.maven.archiva.configuration.InvalidConfigurationException;
import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
import org.apache.maven.archiva.web.action.AbstractActionSupport; import org.apache.maven.archiva.web.action.AbstractActionSupport;
import org.codehaus.plexus.redback.rbac.Resource; import org.codehaus.plexus.redback.rbac.Resource;
import org.codehaus.plexus.registry.RegistryException; import org.codehaus.plexus.registry.RegistryException;
@ -37,8 +36,6 @@ import org.codehaus.redback.integration.interceptor.SecureActionException;
import javax.inject.Inject; import javax.inject.Inject;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/** /**
* Abstract AdminRepositories Action base. * Abstract AdminRepositories Action base.
@ -113,18 +110,6 @@ public abstract class AbstractRepositoriesAdminAction
return SUCCESS; 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<ProxyConnectorConfiguration> getProxyConnectors()
{
return new ArrayList<ProxyConnectorConfiguration>(
archivaConfiguration.getConfiguration().getProxyConnectors() );
}
public ManagedRepositoryAdmin getManagedRepositoryAdmin() public ManagedRepositoryAdmin getManagedRepositoryAdmin()
{ {
return managedRepositoryAdmin; return managedRepositoryAdmin;