You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2009/09/01 15:49:27 UTC
svn commit: r810053 -
/maven/components/trunk/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java
Author: bentmann
Date: Tue Sep 1 13:49:27 2009
New Revision: 810053
URL: http://svn.apache.org/viewvc?rev=810053&view=rev
Log:
o Clarified API
Modified:
maven/components/trunk/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java
Modified: maven/components/trunk/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java?rev=810053&r1=810052&r2=810053&view=diff
==============================================================================
--- maven/components/trunk/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java (original)
+++ maven/components/trunk/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java Tue Sep 1 13:49:27 2009
@@ -78,12 +78,12 @@
throws InvalidRepositoryException;
ArtifactRepository createArtifactRepository( String id, String url, ArtifactRepositoryLayout repositoryLayout, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases );
-
+
/**
- * Calculates the effective repositories for the given input repositories. This process will essentially remove
- * duplicate repositories by merging them into one equivalent repository. It is worth to point out that merging does
- * not simply choose one of the input repositories and discards the others but actually combines their possibly
- * different policies.
+ * Calculates the effective repositories for the given input repositories which are assumed to be already mirrored
+ * (if applicable). This process will essentially remove duplicate repositories by merging them into one equivalent
+ * repository. It is worth to point out that merging does not simply choose one of the input repositories and
+ * discards the others but actually combines their possibly different policies.
*
* @param repositories The original repositories, may be {@code null}.
* @return The effective repositories or {@code null} if the input was {@code null}.