Removing unused imports.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637540 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joakim Erdfelt 2008-03-16 04:48:58 +00:00
parent 60a6e8e397
commit f4b5bbc447
24 changed files with 19 additions and 47 deletions

View File

@ -20,9 +20,6 @@ package org.apache.maven.archiva.converter.artifact;
*/
import org.apache.commons.io.FileUtils;
import org.apache.maven.archiva.converter.artifact.ArtifactConversionException;
import org.apache.maven.archiva.converter.artifact.ArtifactConverter;
import org.apache.maven.archiva.converter.artifact.Messages;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.factory.ArtifactFactory;
import org.apache.maven.artifact.metadata.ArtifactMetadata;

View File

@ -22,7 +22,6 @@ package org.apache.maven.archiva.consumers.lucene.stubs;
import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
import org.apache.maven.archiva.indexer.RepositoryContentIndex;
import org.apache.maven.archiva.indexer.RepositoryContentIndexFactory;
import org.apache.maven.archiva.indexer.lucene.LuceneRepositoryContentIndex;
/**
* LuceneRepositoryContenIndexFactoryStub

View File

@ -19,7 +19,6 @@ package org.apache.maven.archiva.converter.legacy;
* under the License.
*/
import org.apache.commons.lang.StringUtils;
import org.apache.maven.archiva.common.utils.PathUtil;
import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
import org.apache.maven.archiva.converter.RepositoryConversionException;

View File

@ -19,12 +19,6 @@ package org.apache.maven.archiva.dependency.graph;
* under the License.
*/
import org.apache.maven.archiva.dependency.DependencyGraphFactory;
import org.apache.maven.archiva.model.DependencyScope;
import org.apache.maven.archiva.model.VersionedReference;
import java.util.ArrayList;
import java.util.List;
/**
* MavenProjectInfoReportsPluginDependencyGraphTest

View File

@ -21,7 +21,6 @@ package org.apache.maven.archiva.dependency.graph.tasks;
import org.apache.commons.lang.StringUtils;
import org.apache.maven.archiva.dependency.graph.DependencyGraphNode;
import org.apache.maven.archiva.dependency.graph.tasks.DependencyManagementStack;
import org.apache.maven.archiva.dependency.graph.tasks.DependencyManagementStack.Rules;
import org.apache.maven.archiva.model.ArtifactReference;
import org.apache.maven.archiva.model.Dependency;

View File

@ -25,8 +25,6 @@ import org.apache.maven.archiva.dependency.graph.DependencyGraphEdge;
import org.apache.maven.archiva.dependency.graph.DependencyGraphKeys;
import org.apache.maven.archiva.dependency.graph.DependencyGraphNode;
import org.apache.maven.archiva.dependency.graph.tasks.FlagCyclicEdgesTask;
import org.apache.maven.archiva.dependency.graph.walk.DependencyGraphWalker;
import org.apache.maven.archiva.dependency.graph.walk.WalkDepthFirstSearch;
import org.apache.maven.archiva.model.ArtifactReference;
import java.util.List;

View File

@ -1,12 +1,27 @@
/**
*
*/
package org.apache.maven.archiva.dependency.graph.walk;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
import org.apache.maven.archiva.dependency.graph.DependencyGraph;
import org.apache.maven.archiva.dependency.graph.DependencyGraphEdge;
import org.apache.maven.archiva.dependency.graph.DependencyGraphNode;
import org.apache.maven.archiva.dependency.graph.walk.DependencyGraphVisitor;
import org.apache.maven.archiva.model.ArtifactReference;
import java.util.ArrayList;

View File

@ -22,8 +22,6 @@ package org.apache.maven.archiva.indexer.filecontent;
import org.apache.maven.archiva.indexer.lucene.LuceneRepositoryContentRecord;
import org.apache.maven.archiva.model.ArchivaArtifact;
import java.io.File;
/**
* Lucene record for {@link File} contents.
*

View File

@ -20,7 +20,6 @@ package org.apache.maven.archiva.indexer.lucene.analyzers;
*/
import org.apache.lucene.analysis.CharTokenizer;
import org.apache.maven.archiva.indexer.bytecode.BytecodeKeys;
import java.io.Reader;

View File

@ -20,7 +20,6 @@ package org.apache.maven.archiva.indexer.lucene.analyzers;
*/
import org.apache.lucene.analysis.CharTokenizer;
import org.apache.maven.archiva.indexer.bytecode.BytecodeKeys;
import java.io.Reader;

View File

@ -20,7 +20,6 @@ package org.apache.maven.archiva.indexer.lucene.analyzers;
*/
import org.apache.lucene.analysis.CharTokenizer;
import org.apache.maven.archiva.indexer.ArtifactKeys;
import java.io.Reader;

View File

@ -20,7 +20,6 @@ package org.apache.maven.archiva.indexer.lucene.analyzers;
*/
import org.apache.lucene.analysis.CharTokenizer;
import org.apache.maven.archiva.indexer.ArtifactKeys;
import java.io.Reader;

View File

@ -20,7 +20,6 @@ package org.apache.maven.archiva.model;
*/
import org.apache.commons.lang.StringUtils;
import org.apache.maven.archiva.model.ArchivaProjectModel;
/**
* Keys - utility methods for converting common objects into string keys.

View File

@ -22,7 +22,6 @@ package org.apache.maven.archiva.repository;
import org.apache.maven.archiva.configuration.RemoteRepositoryConfiguration;
import org.apache.maven.archiva.model.ArtifactReference;
import org.apache.maven.archiva.model.RepositoryURL;
import org.apache.maven.archiva.model.VersionedReference;
import org.apache.maven.archiva.repository.layout.LayoutException;
/**

View File

@ -20,12 +20,10 @@ package org.apache.maven.archiva.transaction;
*/
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.codehaus.plexus.digest.Digester;
import org.codehaus.plexus.digest.DigesterException;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;

View File

@ -19,8 +19,6 @@ package org.apache.maven.archiva.transaction;
* under the License.
*/
import org.codehaus.plexus.digest.Digester;
import java.io.File;
import java.io.IOException;
import java.util.List;

View File

@ -20,13 +20,10 @@ package org.apache.maven.archiva.transaction;
*/
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.codehaus.plexus.PlexusTestCase;
import org.codehaus.plexus.digest.Digester;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.List;

View File

@ -29,7 +29,6 @@ import org.apache.maven.archiva.consumers.ConsumerException;
import org.apache.maven.archiva.consumers.RepositoryContentConsumer;
import org.apache.maven.archiva.converter.RepositoryConversionException;
import org.apache.maven.archiva.converter.legacy.LegacyRepositoryConverter;
import org.apache.maven.archiva.model.RepositoryContentStatistics;
import org.apache.maven.archiva.repository.RepositoryException;
import org.apache.maven.archiva.repository.scanner.RepositoryScanStatistics;
import org.apache.maven.archiva.repository.scanner.RepositoryScanner;

View File

@ -22,8 +22,6 @@ package org.apache.maven.archiva.database;
import java.io.Serializable;
import java.util.List;
import org.apache.maven.archiva.model.RepositoryContentStatistics;
/**
* ArchivaDAO - The interface for all content within the database.
*

View File

@ -19,7 +19,6 @@ package org.apache.maven.archiva.scheduled.executors;
* under the License.
*/
import org.apache.commons.lang.StringUtils;
import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
import org.apache.maven.archiva.database.ArchivaDAO;
import org.apache.maven.archiva.database.ArtifactDAO;
@ -40,7 +39,6 @@ import java.util.List;
import java.util.Map;
import java.util.Properties;
import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;

View File

@ -20,7 +20,6 @@ package org.apache.maven.archiva.scheduled.executors;
*/
import org.apache.maven.archiva.configuration.ArchivaConfiguration;
import org.apache.maven.archiva.configuration.Configuration;
import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
import org.apache.maven.archiva.database.ArchivaDAO;
import org.apache.maven.archiva.database.ArtifactDAO;

View File

@ -22,7 +22,6 @@ package org.apache.maven.archiva.web.action.admin.repositories;
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.security.ArchivaRoleConstants;
import org.codehaus.plexus.redback.rbac.Resource;
@ -32,7 +31,6 @@ import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
import org.codehaus.plexus.registry.RegistryException;
import org.codehaus.plexus.xwork.action.PlexusActionSupport;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

View File

@ -25,13 +25,9 @@ package org.apache.maven.archiva.web.util;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
public class VersionMerger
{

View File

@ -26,8 +26,6 @@ import com.meterware.httpunit.WebResponse;
import org.apache.maven.archiva.policies.ReleasesPolicy;
import java.io.File;
/**
* RepositoryServlet Tests, Proxied, Get of Release Artifacts, with varying policy settings.
*