]> source.dussan.org Git - archiva.git/commitdiff
Removing unused imports.
authorJoakim Erdfelt <joakime@apache.org>
Sun, 16 Mar 2008 04:48:58 +0000 (04:48 +0000)
committerJoakim Erdfelt <joakime@apache.org>
Sun, 16 Mar 2008 04:48:58 +0000 (04:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637540 13f79535-47bb-0310-9956-ffa450edef68

24 files changed:
archiva-base/archiva-artifact-converter/src/test/java/org/apache/maven/archiva/converter/artifact/LegacyToDefaultConverterTest.java
archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/maven/archiva/consumers/lucene/stubs/LuceneRepositoryContentIndexFactoryStub.java
archiva-base/archiva-converter/src/main/java/org/apache/maven/archiva/converter/legacy/DefaultLegacyRepositoryConverter.java
archiva-base/archiva-dependency-graph/src/test/java/org/apache/maven/archiva/dependency/graph/MavenProjectInfoReportsPluginDependencyGraphTest.java
archiva-base/archiva-dependency-graph/src/test/java/org/apache/maven/archiva/dependency/graph/tasks/DependencyManagementStackTest.java
archiva-base/archiva-dependency-graph/src/test/java/org/apache/maven/archiva/dependency/graph/walk/DependencyGraphWalkerTest.java
archiva-base/archiva-dependency-graph/src/test/java/org/apache/maven/archiva/dependency/graph/walk/WalkCollector.java
archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/filecontent/FileContentRecord.java
archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/lucene/analyzers/ClassnameTokenizer.java
archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/lucene/analyzers/FilenamesTokenizer.java
archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/lucene/analyzers/GroupIdTokenizer.java
archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/lucene/analyzers/VersionTokenizer.java
archiva-base/archiva-model/src/main/java/org/apache/maven/archiva/model/Keys.java
archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/RemoteRepositoryContent.java
archiva-base/archiva-transaction/src/main/java/org/apache/maven/archiva/transaction/AbstractTransactionEvent.java
archiva-base/archiva-transaction/src/main/java/org/apache/maven/archiva/transaction/CreateFileEvent.java
archiva-base/archiva-transaction/src/test/java/org/apache/maven/archiva/transaction/AbstractFileEventTest.java
archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArchivaCli.java
archiva-database/src/main/java/org/apache/maven/archiva/database/ArchivaDAO.java
archiva-scheduled/src/test/java/org/apache/maven/archiva/scheduled/executors/ArchivaDatabaseUpdateTaskExecutorTest.java
archiva-scheduled/src/test/java/org/apache/maven/archiva/scheduled/executors/ArchivaRepositoryScanningTaskExecutorTest.java
archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/AbstractRepositoriesAdminAction.java
archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/util/VersionMerger.java
archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/repository/RepositoryServletProxiedRelocatedTest.java

index db4ab185527e84015523575fe4f86ef651209ab1..20565018748879b014c2f6cc4c87b3c19eff5fdf 100644 (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;
index b7ede95b24e24c1bc68f6f10df473cfccc60ab3f..4e31f4ba42a9ac447fa84996f0e5d7c5f54070a6 100644 (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
index f4c3dcf2bb968a355e29b96b96382ebddfe9cafb..b2ab8e1fe83fb5fdd93db5ccddeb62459478a394 100644 (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;
index 40fad04f36e074afa320f021309f58db742beea6..c1497604f75a6393fccf930f581831326c287663 100644 (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
index 229f0a7a06ce91e08f765db4dfecd981e12ccf38..51664be04955deb8e2263f1ae342112e9493a658 100644 (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;
index d8b68be129acd2cc6b1f61f7df3fe1ab22077562..24db70b2521ebd1e1e28b61152998b3371827c09 100644 (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;
index 8c245d854e37ffb10f19b28b3ee2aa437661096e..c07f1a7cb8e25fc4a179c7b1f37ce109641f94e7 100644 (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;
index 97ed9150858f158c330cb6104781d1980b683a91..7b1365b23dcb18b86b100cf2a92672d91dde257d 100644 (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. 
  *
index d2cf7c64c025210dfda63e81bcdbe2d230111269..5e2044c65be7c1afd8dcfe62734664232192a0f8 100644 (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;
 
index 1e7dca5c506a7cb955f0856b61fb94de83931117..5094d752961d646972de867e583f512ac1e5e913 100644 (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;
 
index 881332931343f3c0b25cbbca2c7e50fa59d549f3..b6134e8ab14995b9020d7e35e3ce698265fc6854 100644 (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;
 
index 5c4e8f03b7230fb24d0280687418e70c8d5d86a0..f4e79804b7c32949008ad786d52e18bef47f9a92 100644 (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;
 
index 7d4340fc35c792a98f7bd224b59887bc07133c5e..db8277492a03753968a22ecc6e316609dd35ee28 100644 (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. 
index 74df638ee6e3b0953411782e0557e5e18d68e59f..0541073237a4ecebe0755917e9f6c7c9c9ce6bbf 100644 (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;
 
 /**
index 7323f7cfd412ac7e5a8997319782434ec0eed0c2..cb6d8886be13a78c512d8429f21654cd43926ba4 100644 (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;
index 5af7dc3f8fe18c29d8274866e094d11f0608bdbc..8cf0eb6127782cbe68bf40b9c4760e9cdf6db052 100644 (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;
index 947e820393a0d5d089a05576bf832dc18a11b140..e5a32577c85fac6183f51c6f71bb410174e4f204 100644 (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;
 
index f4c358d09cbadb7d453b7039a87fcf7f9a85ace8..8157477019a090b4fd4f25b2958d8466b85ab831 100644 (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;
index d38aea1a3160194879cbad32dfc915c57ede9c31..61b1d68899fb78e5e238f251753a0b1422aa5012 100644 (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.
  *
index 94f5d34bbbebe8c45c9c527fa3866868a9074836..d6ee52438ef77017b12f01e7c833daa39050c693 100644 (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;
 
index 4570ea7cf208cef4b6862156a98270d23a98b665..af5f708b6a17d26fcd73eb277e4652d3efa02b5b 100644 (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;
index 2ba2cb4aa82eac2259d8eb2511d372dea7ecdfbf..a7cd0d7f2220ad2d8fad77a7ec1f266fe430084c 100644 (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;
 
index 8c3f075bb52ac993e13a5fae18998cc42b8cc276..07e4a702c7a06176bd767e0664063c0dddca8fbe 100644 (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
 {
index d9e80570fdf8c903d9257ac26eac9831e80d0106..b0ca7934481a3e861752e492edb810790e437fc9 100644 (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.
  *