continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r1153792 - /continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java
Date Thu, 04 Aug 2011 08:55:39 GMT
Author: ctan
Date: Thu Aug  4 08:55:39 2011
New Revision: 1153792

URL: http://svn.apache.org/viewvc?rev=1153792&view=rev
Log:
fixed NPE in logging with debug enabled

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=1153792&r1=1153791&r2=1153792&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
Thu Aug  4 08:55:39 2011
@@ -256,8 +256,6 @@ public class DefaultDistributedBuildMana
                     // get overall distributed build queue from build agent group
                     log.info( "Getting the least busy build agent from the build agent group"
);
                     overallDistributedBuildQueue = getOverallDistributedBuildQueueByAgentGroup(
projectsBuildDefinitionsMap );
-                    log.debug( "Building project in the least busy agent {} within the build
agent group", 
-                               overallDistributedBuildQueue.getBuildAgentUrl() );
                 }
             }
             else
@@ -265,7 +263,6 @@ public class DefaultDistributedBuildMana
                 // project does not have build agent group
                 log.info( "Project does not have a build agent group, getting the least busy
build agent" );
                 overallDistributedBuildQueue = getOverallDistributedBuildQueue();
-                log.debug( "Building project in the least busy agent {}", overallDistributedBuildQueue.getBuildAgentUrl()
);
             }
         }
 



Mime
View raw message