]> source.dussan.org Git - archiva.git/commitdiff
updating classes for compile
authorEdwin L. Punzalan <epunzalan@apache.org>
Wed, 21 Dec 2005 03:28:31 +0000 (03:28 +0000)
committerEdwin L. Punzalan <epunzalan@apache.org>
Wed, 21 Dec 2005 03:28:31 +0000 (03:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@358196 13f79535-47bb-0310-9956-ffa450edef68

maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/DefaultRepositoryIndexerFactory.java
maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/RepositoryIndexerFactory.java

index ffdba32da04c634ac76df4027b90ae28fc2d544e..aa106524c73d515943e98a056f2f8f9064af6a20 100644 (file)
@@ -31,7 +31,7 @@ public class DefaultRepositoryIndexerFactory
 {
     Map indexerMap = new HashMap();
     
-    public RepositoryIndexer getRepositoryIndexer( ArtifactRepository repository, Class indexType )
+    public RepositoryIndexer getRepositoryIndexer( String indexPath, ArtifactRepository repository, Class indexType )
     {
         if ( !indexerMap.containsKey( indexType ) )
         {
@@ -39,7 +39,7 @@ public class DefaultRepositoryIndexerFactory
             
             if ( Artifact.class == indexType )
             {
-                indexer = new ArtifactRepositoryIndexer(  );
+                indexer = new ArtifactRepositoryIndexer( repository, indexPath );
             }
             else
             {
index 9a677e860459d5b5ba7e9a8e8f6113adcb094cfa..6760eba64f6bd15f7645b9a9cd6d76f70f7f8ad5 100644 (file)
@@ -27,5 +27,5 @@ public interface RepositoryIndexerFactory
 {
     String ROLE = RepositoryIndexerFactory.class.getName();
     
-    RepositoryIndexer getRepositoryIndexer( ArtifactRepository repository, Class indexType );
+    RepositoryIndexer getRepositoryIndexer( String indexPath, ArtifactRepository repository, Class indexType );
 }