continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r449054 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
Date Fri, 22 Sep 2006 19:01:32 GMT
Author: evenisse
Date: Fri Sep 22 12:01:31 2006
New Revision: 449054

URL: http://svn.apache.org/viewvc?view=rev&rev=449054
Log:
[CONTINUUM-937] Fix NPE

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

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java?view=diff&rev=449054&r1=449053&r2=449054
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
Fri Sep 22 12:01:31 2006
@@ -283,7 +283,7 @@
 
         StringBuffer message = new StringBuffer();
 
-        if ( !messages.isEmpty() )
+        if ( messages != null && !messages.isEmpty() )
         {
             for ( Iterator i = messages.iterator(); i.hasNext(); )
             {



Mime
View raw message