continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From och...@apache.org
Subject svn commit: r726628 - /continuum/branches/continuum-parallel-builds/continuum-core/src/main/java/org/apache/continuum/buildmanager/ParallelBuildsManager.java
Date Mon, 15 Dec 2008 07:03:29 GMT
Author: oching
Date: Sun Dec 14 23:03:28 2008
New Revision: 726628

URL: http://svn.apache.org/viewvc?rev=726628&view=rev
Log:
remove comments

Modified:
    continuum/branches/continuum-parallel-builds/continuum-core/src/main/java/org/apache/continuum/buildmanager/ParallelBuildsManager.java

Modified: continuum/branches/continuum-parallel-builds/continuum-core/src/main/java/org/apache/continuum/buildmanager/ParallelBuildsManager.java
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-parallel-builds/continuum-core/src/main/java/org/apache/continuum/buildmanager/ParallelBuildsManager.java?rev=726628&r1=726627&r2=726628&view=diff
==============================================================================
--- continuum/branches/continuum-parallel-builds/continuum-core/src/main/java/org/apache/continuum/buildmanager/ParallelBuildsManager.java
(original)
+++ continuum/branches/continuum-parallel-builds/continuum-core/src/main/java/org/apache/continuum/buildmanager/ParallelBuildsManager.java
Sun Dec 14 23:03:28 2008
@@ -596,15 +596,7 @@
                 for ( Integer key : keySet )
                 {
                     OverallBuildQueue overallBuildQueue = overallBuildQueues.get( key );
-                    overallBuildQueue.removeTasksFromCheckoutQueueWithHashCodes( hashcodes
);
-                    /*List<CheckOutTask> tasks = overallBuildQueue.getCheckOutTasksInQueue();
-                    for ( CheckOutTask task : tasks )
-                    {
-                        if ( ArrayUtils.contains( hashcodes, task.hashCode() ) )
-                        {
-                            overallBuildQueue.getCheckoutQueue().remove( task );
-                        }
-                    }*/
+                    overallBuildQueue.removeTasksFromCheckoutQueueWithHashCodes( hashcodes
);                   
                 }
             }
         }
@@ -626,14 +618,6 @@
                 {
                     OverallBuildQueue overallBuildQueue = overallBuildQueues.get( key );
                     overallBuildQueue.removeProjectsFromBuildQueueWithHashCodes( hashcodes
);
-                    /*List<Task> tasks = overallBuildQueue.getProjectsInBuildQueue();
-                    for ( Task task : tasks )
-                    {
-                        if ( ArrayUtils.contains( hashcodes, task.hashCode() ) )
-                        {
-                            overallBuildQueue.getBuildQueue().remove( task );
-                        }
-                    }*/
                 }
             }
         }
@@ -668,11 +652,6 @@
         List<Task> tasks = null;
         List<CheckOutTask> checkoutTasks = null;
 
-        /*if( overallBuildQueueId == 1 )
-        {
-            throw new BuildManagerException( "Default build queue cannot be deleted." );
-        }*/
-
         synchronized ( overallBuildQueues )
         {
             OverallBuildQueue overallBuildQueue = overallBuildQueues.get( overallBuildQueueId
);



Mime
View raw message