continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r585430 - /maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/CancelBuildAction.java
Date Wed, 17 Oct 2007 09:43:00 GMT
Author: evenisse
Date: Wed Oct 17 02:42:59 2007
New Revision: 585430

URL: http://svn.apache.org/viewvc?rev=585430&view=rev
Log:
Fix NPE

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/CancelBuildAction.java

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/CancelBuildAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/CancelBuildAction.java?rev=585430&r1=585429&r2=585430&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/CancelBuildAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/CancelBuildAction.java
Wed Oct 17 02:42:59 2007
@@ -65,7 +65,7 @@
         throws ContinuumException
     {
         // first we remove from the build queue
-        if ( getSelectedProjects().isEmpty() )
+        if ( getSelectedProjects() != null && getSelectedProjects().isEmpty() )
         {
             return SUCCESS;
         }



Mime
View raw message