]> source.dussan.org Git - archiva.git/commitdiff
Applying code formatting...
authorEdwin L. Punzalan <epunzalan@apache.org>
Wed, 22 Feb 2006 02:40:21 +0000 (02:40 +0000)
committerEdwin L. Punzalan <epunzalan@apache.org>
Wed, 22 Feb 2006 02:40:21 +0000 (02:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379656 13f79535-47bb-0310-9956-ffa450edef68

maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/AbstractRepositoryIndex.java
maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/RepositoryIndex.java
maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/RepositoryIndexSearchLayer.java
maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/SearchResult.java
maven-repository-indexer/src/test/java/org/apache/maven/repository/indexing/MetadataRepositoryIndexingTest.java
maven-repository-indexer/src/test/java/org/apache/maven/repository/indexing/RepositoryIndexSearchLayerTest.java
maven-repository-indexer/src/test/repository/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
maven-repository-indexer/src/test/repository/org/apache/maven/maven-artifact/2.0.1/maven-metadata.xml
maven-repository-indexer/src/test/repository/org/apache/maven/maven-artifact/maven-metadata.xml
maven-repository-indexer/src/test/repository/org/apache/maven/maven-metadata.xml
maven-repository-indexer/src/test/repository/test/maven-metadata.xml

index d62a0abcb2f0fd97fd8ab2d0d8abe51b2437693e..2c694d28f32a037976446090dcb77d58ac3f2da5 100644 (file)
@@ -16,11 +16,11 @@ package org.apache.maven.repository.indexing;
  * limitations under the License.
  */
 
+import org.apache.lucene.analysis.Analyzer;
+import org.apache.lucene.analysis.SimpleAnalyzer;
 import org.apache.lucene.index.IndexReader;
 import org.apache.lucene.index.IndexWriter;
 import org.apache.lucene.index.Term;
-import org.apache.lucene.analysis.Analyzer;
-import org.apache.lucene.analysis.SimpleAnalyzer;
 import org.apache.maven.artifact.repository.ArtifactRepository;
 
 import java.io.File;
index 4c2eba68fbc1cc4b0d23db0eb004501706ce9fb4..fd88be533734857edb0c0761453e5ba272f7b83e 100644 (file)
@@ -19,8 +19,8 @@ package org.apache.maven.repository.indexing;
 import org.apache.lucene.analysis.Analyzer;
 import org.apache.maven.artifact.repository.ArtifactRepository;
 
-import java.util.List;
 import java.util.Arrays;
+import java.util.List;
 
 /**
  * @author Edwin Punzalan
index 1327724fe7f0a9f6bb5f20f3c41fa649a1116f53..4bb6334480fd1f32d3b018940449ef3549c259b4 100644 (file)
@@ -32,8 +32,8 @@ import java.util.HashMap;
 import java.util.Iterator;\r
 import java.util.List;\r
 import java.util.Map;\r
-import java.util.StringTokenizer;\r
 import java.util.Set;\r
+import java.util.StringTokenizer;\r
 \r
 /**\r
  * <p/>\r
index ba8daf160383f136772a563137aa71b2b73342b2..eff8a1dda3dbf49366f5cf4f391cff4d78faeabd 100644 (file)
@@ -18,8 +18,8 @@ package org.apache.maven.repository.indexing;
 \r
 import org.apache.maven.artifact.Artifact;\r
 \r
-import java.util.Map;\r
 import java.util.HashMap;\r
+import java.util.Map;\r
 \r
 /**\r
  * This is the object type contained in the list that will be returned by the\r
index 0d1f5f8f7e6096a25f5d77c9125ee00284b1f3b2..fb628fde01b1033cbe2d7ff2f246535b4e488efc 100644 (file)
@@ -23,15 +23,15 @@ import org.apache.maven.artifact.repository.ArtifactRepositoryFactory;
 import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;\r
 import org.apache.maven.artifact.repository.metadata.ArtifactRepositoryMetadata;\r
 import org.apache.maven.artifact.repository.metadata.GroupRepositoryMetadata;\r
+import org.apache.maven.artifact.repository.metadata.Metadata;\r
+import org.apache.maven.artifact.repository.metadata.Plugin;\r
 import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;\r
 import org.apache.maven.artifact.repository.metadata.SnapshotArtifactRepositoryMetadata;\r
 import org.apache.maven.artifact.repository.metadata.Versioning;\r
-import org.apache.maven.artifact.repository.metadata.Metadata;\r
-import org.apache.maven.artifact.repository.metadata.Plugin;\r
 import org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader;\r
-import org.apache.maven.repository.indexing.query.SinglePhraseQuery;\r
 import org.apache.maven.repository.indexing.query.Query;\r
 import org.apache.maven.repository.indexing.query.RangeQuery;\r
+import org.apache.maven.repository.indexing.query.SinglePhraseQuery;\r
 import org.codehaus.plexus.PlexusTestCase;\r
 import org.codehaus.plexus.util.FileUtils;\r
 \r
@@ -39,8 +39,8 @@ import java.io.File;
 import java.io.InputStream;\r
 import java.io.InputStreamReader;\r
 import java.net.URL;\r
-import java.util.List;\r
 import java.util.Iterator;\r
+import java.util.List;\r
 \r
 /**\r
  * This class tests the MetadataRepositoryIndex.\r
index 41827e798ae834ff53e982bd39b25209e9af70f9..9121485f17ba979038d59edc11c2a7b1eb515210 100644 (file)
@@ -16,32 +16,32 @@ package org.apache.maven.repository.indexing;
  * limitations under the License.\r
  */\r
 \r
-import org.codehaus.plexus.PlexusTestCase;\r
-import org.codehaus.plexus.util.FileUtils;\r
-import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;\r
-import org.apache.maven.artifact.repository.ArtifactRepositoryFactory;\r
+import org.apache.maven.artifact.Artifact;\r
+import org.apache.maven.artifact.factory.ArtifactFactory;\r
 import org.apache.maven.artifact.repository.ArtifactRepository;\r
-import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;\r
-import org.apache.maven.artifact.repository.metadata.GroupRepositoryMetadata;\r
+import org.apache.maven.artifact.repository.ArtifactRepositoryFactory;\r
+import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;\r
 import org.apache.maven.artifact.repository.metadata.ArtifactRepositoryMetadata;\r
+import org.apache.maven.artifact.repository.metadata.GroupRepositoryMetadata;\r
+import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;\r
 import org.apache.maven.artifact.repository.metadata.SnapshotArtifactRepositoryMetadata;\r
 import org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader;\r
-import org.apache.maven.artifact.Artifact;\r
-import org.apache.maven.artifact.factory.ArtifactFactory;\r
-import org.apache.maven.repository.digest.DefaultDigester;\r
-import org.apache.maven.repository.digest.Digester;\r
 import org.apache.maven.model.Model;\r
 import org.apache.maven.model.io.xpp3.MavenXpp3Reader;\r
+import org.apache.maven.repository.digest.DefaultDigester;\r
+import org.apache.maven.repository.digest.Digester;\r
+import org.codehaus.plexus.PlexusTestCase;\r
+import org.codehaus.plexus.util.FileUtils;\r
 \r
 import java.io.File;\r
+import java.io.FileReader;\r
 import java.io.InputStream;\r
 import java.io.InputStreamReader;\r
-import java.io.FileReader;\r
-import java.util.List;\r
+import java.net.URL;\r
 import java.util.Iterator;\r
+import java.util.List;\r
 import java.util.Map;\r
 import java.util.Set;\r
-import java.net.URL;\r
 \r
 /**\r
  * <p/>\r
index 9cebfecc71d84fbe4ea29a0ccf7db81aaff67345..0121c43d353e08448f425d51d11f3cefc305c462 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?><project>
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
   <parent>
     <artifactId>maven</artifactId>
     <groupId>org.apache.maven</groupId>
index 739da6b59520a57cd44a917f2d483981f96c267a..f9f9abc9974923c200d422dbcaf05163c6587eee 100644 (file)
@@ -1,5 +1,5 @@
 <metadata>\r
-<groupId>org.apache.maven</groupId>\r
-<artifactId>maven-artifact</artifactId>\r
-<version>2.0.1</version>\r
+  <groupId>org.apache.maven</groupId>\r
+  <artifactId>maven-artifact</artifactId>\r
+  <version>2.0.1</version>\r
 </metadata>\r
index fd40c7b0175643da38c05140e7171034966ea8c8..d4b28f93e16f6b8183dbc269cf6932b65d4d83af 100644 (file)
@@ -1,12 +1,12 @@
 <metadata>\r
-<groupId>org.apache.maven</groupId>\r
-<artifactId>maven-artifact</artifactId>\r
-<version>2.0.1</version>\r
-<versioning>\r
-<release>2.0.1</release>\r
-<versions>\r
-<version>2.0.1</version>\r
-</versions>\r
-<lastUpdated>20051212044643</lastUpdated>\r
-</versioning>\r
+  <groupId>org.apache.maven</groupId>\r
+  <artifactId>maven-artifact</artifactId>\r
+  <version>2.0.1</version>\r
+  <versioning>\r
+    <release>2.0.1</release>\r
+    <versions>\r
+      <version>2.0.1</version>\r
+    </versions>\r
+    <lastUpdated>20051212044643</lastUpdated>\r
+  </versioning>\r
 </metadata>\r
index 11612dc7ce783e8e6a52b599f7ffc2e5335e1bcf..3a837529b919062af348067a6128d581f833ca27 100644 (file)
@@ -1,9 +1,9 @@
 <metadata>\r
-<groupId>org.apache.maven</groupId>\r
-<plugins>\r
-  <plugin>\r
-    <prefix>org.apache.maven</prefix>\r
-    <artifactId>org.apache.maven-maven-plugin</artifactId>\r
-  </plugin>\r
-</plugins>\r
+  <groupId>org.apache.maven</groupId>\r
+  <plugins>\r
+    <plugin>\r
+      <prefix>org.apache.maven</prefix>\r
+      <artifactId>org.apache.maven-maven-plugin</artifactId>\r
+    </plugin>\r
+  </plugins>\r
 </metadata>\r
index 7d866f89a836b8497d6ca93e024ecba2598caad4..e1f2008ef8fb10c6a614ff28fcbc5aa8ba1e7b77 100644 (file)
@@ -1,9 +1,9 @@
 <metadata>\r
-<groupId>test</groupId>\r
-<plugins>\r
-  <plugin>\r
-    <prefix></prefix>\r
-    <artifactId>test-test-plugin</artifactId>\r
-  </plugin>\r
-</plugins>\r
+  <groupId>test</groupId>\r
+  <plugins>\r
+    <plugin>\r
+      <prefix></prefix>\r
+      <artifactId>test-test-plugin</artifactId>\r
+    </plugin>\r
+  </plugins>\r
 </metadata>\r