maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From epunza...@apache.org
Subject svn commit: r373697 - /maven/repository-manager/trunk/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java
Date Tue, 31 Jan 2006 04:26:10 GMT
Author: epunzalan
Date: Mon Jan 30 20:26:01 2006
New Revision: 373697

URL: http://svn.apache.org/viewcvs?rev=373697&view=rev
Log:
PR: MRM-43

Made the class method more general

Modified:
    maven/repository-manager/trunk/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java

Modified: maven/repository-manager/trunk/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java
URL: http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java?rev=373697&r1=373696&r2=373697&view=diff
==============================================================================
--- maven/repository-manager/trunk/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java
(original)
+++ maven/repository-manager/trunk/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java
Mon Jan 30 20:26:01 2006
@@ -43,8 +43,7 @@
     private boolean browsable;
 
     private ArtifactRepository repoCache;
-
-    private ArrayList repositories = new ArrayList();
+    private List repositories = new ArrayList();
 
     public void setBrowsable( boolean browsable )
     {
@@ -56,7 +55,7 @@
         return browsable;
     }
 
-    public void setRepositoryCachePath( String repoCachePath )
+    public void setRepositoryCachePath( String repoCacheURL )
     {
         ArtifactRepositoryPolicy standardPolicy;
         standardPolicy = new ArtifactRepositoryPolicy( true, ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS,
@@ -64,7 +63,7 @@
 
         ArtifactRepositoryLayout layout = new DefaultRepositoryLayout();
 
-        repoCache = artifactRepositoryFactory.createArtifactRepository( "localCache", repoCachePath,
layout,
+        repoCache = artifactRepositoryFactory.createArtifactRepository( "localCache", repoCacheURL,
layout,
                                                                         standardPolicy, standardPolicy
);
     }
 
@@ -88,7 +87,7 @@
         return Collections.unmodifiableList( repositories );
     }
 
-    public void setRepositories( ArrayList repositories )
+    public void setRepositories( List repositories )
     {
         this.repositories = repositories;
     }



Mime
View raw message