remove unused imports and fields

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196843 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-11-02 22:32:43 +00:00
parent baaa23f092
commit a635f44ace
2 changed files with 0 additions and 15 deletions

View File

@ -23,7 +23,6 @@ package org.apache.archiva.scheduler.indexing;
import org.apache.archiva.admin.model.RepositoryAdminException;
import org.apache.archiva.admin.model.beans.ManagedRepository;
import org.apache.archiva.admin.model.managed.ManagedRepositoryAdmin;
import org.apache.archiva.common.plexusbridge.MavenIndexerUtils;
import org.apache.archiva.common.plexusbridge.PlexusSisuBridge;
import org.apache.archiva.common.plexusbridge.PlexusSisuBridgeException;
import org.apache.commons.lang.StringUtils;
@ -36,7 +35,6 @@ import org.apache.maven.index.FlatSearchResponse;
import org.apache.maven.index.MAVEN;
import org.apache.maven.index.NexusIndexer;
import org.apache.maven.index.artifact.IllegalArtifactCoordinateException;
import org.apache.maven.index.context.IndexCreator;
import org.apache.maven.index.context.IndexingContext;
import org.apache.maven.index.expr.SourcedSearchExpression;
import org.apache.maven.index.packer.IndexPacker;
@ -52,7 +50,6 @@ import javax.annotation.PostConstruct;
import javax.inject.Inject;
import java.io.File;
import java.io.IOException;
import java.util.List;
/**
* ArchivaIndexingTaskExecutor Executes all indexing tasks. Adding, updating and removing artifacts from the index are
@ -75,16 +72,11 @@ public class ArchivaIndexingTaskExecutor
@Inject
private PlexusSisuBridge plexusSisuBridge;
@Inject
private MavenIndexerUtils mavenIndexerUtils;
@Inject
private ManagedRepositoryAdmin managedRepositoryAdmin;
private NexusIndexer nexusIndexer;
private List<? extends IndexCreator> allIndexCreators;
@PostConstruct
public void initialize()
throws PlexusSisuBridgeException
@ -97,7 +89,6 @@ public class ArchivaIndexingTaskExecutor
nexusIndexer = plexusSisuBridge.lookup( NexusIndexer.class );
allIndexCreators = mavenIndexerUtils.getAllIndexCreators();
}
public void executeTask( Task task )

View File

@ -20,16 +20,10 @@ package org.apache.archiva.scheduler.indexing;
*/
import org.apache.archiva.admin.model.beans.ManagedRepository;
import org.apache.maven.index.NexusIndexer;
import org.apache.maven.index.context.IndexCreator;
import org.apache.maven.index.context.IndexingContext;
import org.apache.maven.index.context.UnsupportedExistingLuceneIndexException;
import org.codehaus.plexus.taskqueue.Task;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.IOException;
import java.util.List;
public class ArtifactIndexingTask
implements Task