continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject svn commit: r209457 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java
Date Wed, 06 Jul 2005 13:38:03 GMT
Author: trygvis
Date: Wed Jul  6 06:38:01 2005
New Revision: 209457

URL: http://svn.apache.org/viewcvs?rev=209457&view=rev
Log: (empty)

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java?rev=209457&r1=209456&r2=209457&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java
Wed Jul  6 06:38:01 2005
@@ -177,17 +177,6 @@
         }
 
         // ----------------------------------------------------------------------
-        //
-        // ----------------------------------------------------------------------
-
-        if ( recipients.size() == 0 )
-        {
-            getLogger().info( "No mail recipients for '" + project.getName() + "'." );
-
-            return;
-        }
-
-        // ----------------------------------------------------------------------
         // Generate and send email
         // ----------------------------------------------------------------------
 
@@ -321,6 +310,13 @@
                               Map configuration )
         throws ContinuumException
     {
+        if ( recipients.size() == 0 )
+        {
+            getLogger().info( "No mail recipients for '" + project.getName() + "'." );
+
+            return;
+        }
+
         String fromMailbox = getFromMailbox( configuration );
 
         if ( fromMailbox == null )



Mime
View raw message