continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r774936 - /continuum/trunk/continuum-commons/src/main/java/org/apache/continuum/utils/ProjectSorter.java
Date Thu, 14 May 2009 21:29:10 GMT
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 );



Mime
View raw message