continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r321389 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Sat, 15 Oct 2005 17:37:11 GMT
Author: evenisse
Date: Sat Oct 15 10:37:09 2005
New Revision: 321389

URL: http://svn.apache.org/viewcvs?rev=321389&view=rev
Log:
Don't put project in queue if it's already in it

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=321389&r1=321388&r2=321389&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Sat Oct 15 10:37:09 2005
@@ -331,6 +331,11 @@
     public void buildProject( int projectId, int trigger )
         throws ContinuumException
     {
+        if ( isInBuildingQueue( projectId )
+        {
+            return;
+        }
+
         try
         {
             Project project = store.getProject( projectId );



Mime
View raw message