mirror of https://github.com/apache/archiva.git
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:
parent
60a6e8e397
commit
f4b5bbc447
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue