You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ws...@apache.org on 2009/05/14 23:29:10 UTC
svn commit: r774936 -
/continuum/trunk/continuum-commons/src/main/java/org/apache/continuum/utils/ProjectSorter.java
Author: wsmoak
Date: Thu May 14 21:29:10 2009
New Revision: 774936
URL: http://svn.apache.org/viewvc?rev=774936&view=rev
Log:
Make it clear that duplicates are discarded during sorting.
Modified:
continuum/trunk/continuum-commons/src/main/java/org/apache/continuum/utils/ProjectSorter.java
Modified: continuum/trunk/continuum-commons/src/main/java/org/apache/continuum/utils/ProjectSorter.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-commons/src/main/java/org/apache/continuum/utils/ProjectSorter.java?rev=774936&r1=774935&r2=774936&view=diff
==============================================================================
--- continuum/trunk/continuum-commons/src/main/java/org/apache/continuum/utils/ProjectSorter.java (original)
+++ continuum/trunk/continuum-commons/src/main/java/org/apache/continuum/utils/ProjectSorter.java Thu May 14 21:29:10 2009
@@ -46,7 +46,7 @@
}
/**
- * Sort a list of projects.
+ * Sort a list of projects, discarding duplicates.
* <ul>
* <li>collect all the vertices for the projects that we want to build.</li>
* <li>iterate through the deps of each project and if that dep is within
@@ -68,7 +68,7 @@
if ( dag.getVertex( id ) != null )
{
- logger.warn( "Project '" + id + "' is duplicated in the reactor" );
+ logger.warn( "Project '" + id + "' is duplicated in the reactor and will be discarded" );
}
dag.addVertex( id );