continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r929106 - /continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java
Date Tue, 30 Mar 2010 12:23:16 GMT
Author: ctan
Date: Tue Mar 30 12:23:15 2010
New Revision: 929106

URL: http://svn.apache.org/viewvc?rev=929106&view=rev
Log:
[CONTINUUM-2494] fixed regression. wrong placement of idx++ which is the cause why project
doesn't build

Modified:
    continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java

Modified: continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java?rev=929106&r1=929105&r2=929106&view=diff
==============================================================================
--- continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java
(original)
+++ continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java
Tue Mar 30 12:23:15 2010
@@ -996,6 +996,7 @@ public class DefaultDistributedBuildMana
                                         {
                                             whereToBeQueued = distributedBuildQueue;
                                             size = agentBuildSize;
+                                            idx++;
                                         }
     
                                         if ( agentBuildSize < size )
@@ -1015,7 +1016,6 @@ public class DefaultDistributedBuildMana
                                 }
                             }
                         }
-                        idx++;
                     }
                 }
             }
@@ -1056,6 +1056,7 @@ public class DefaultDistributedBuildMana
                             {
                                 whereToBeQueued = distributedBuildQueue;
                                 size = agentBuildSize;
+                                idx++;
                             }
     
                             if ( agentBuildSize < size )
@@ -1075,8 +1076,6 @@ public class DefaultDistributedBuildMana
                         throw new ContinuumException( "Error occurred while retrieving distributed
build queue", e );
                     }
                 }
-
-                idx++;
             }
         }
 



Mime
View raw message