continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject svn commit: r209438 - in /maven/continuum/trunk/continuum-notifiers: continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/ continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/
Date Wed, 06 Jul 2005 10:13:06 GMT
Author: trygvis
Date: Wed Jul  6 03:13:01 2005
New Revision: 209438

URL: http://svn.apache.org/viewcvs?rev=209438&view=rev
Log:
o Removing System.out usage.

Modified:
    maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java
    maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java

Modified: maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java?rev=209438&r1=209437&r2=209438&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java
(original)
+++ maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java
Wed Jul  6 03:13:01 2005
@@ -16,20 +16,21 @@
  * limitations under the License.
  */
 
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Properties;
+import java.util.Set;
+
 import org.apache.maven.continuum.notification.ContinuumNotificationDispatcher;
 import org.apache.maven.continuum.project.ContinuumBuild;
 import org.apache.maven.continuum.project.ContinuumProject;
+
 import org.codehaus.plexus.jabber.JabberClient;
 import org.codehaus.plexus.jabber.JabberClientException;
 import org.codehaus.plexus.notification.NotificationException;
 import org.codehaus.plexus.notification.notifier.AbstractNotifier;
 import org.codehaus.plexus.util.StringUtils;
 
-import java.util.Iterator;
-import java.util.Map;
-import java.util.Properties;
-import java.util.Set;
-
 /**
  * @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
  * @version $Id: $
@@ -134,31 +135,31 @@
     // ----------------------------------------------------------------------
 
     private void buildStarted( ContinuumProject project, Set recipients, Map configuration
)
-    throws NotificationException
+        throws NotificationException
     {
         sendMessage( project, null, "Build started.", recipients, configuration );
     }
 
     private void checkoutStarted( ContinuumProject project, Set recipients, Map configuration
)
-    throws NotificationException
+        throws NotificationException
     {
         sendMessage( project, null, "Checkout started.", recipients, configuration );
     }
 
     private void checkoutComplete( ContinuumProject project, Set recipients, Map configuration
)
-    throws NotificationException
+        throws NotificationException
     {
         sendMessage( project, null, "Checkout complete.", recipients, configuration );
     }
 
     private void runningGoals( ContinuumProject project, ContinuumBuild build, Set recipients,
Map configuration )
-    throws NotificationException
+        throws NotificationException
     {
         sendMessage( project, build, "Running goals.", recipients, configuration );
     }
 
     private void goalsCompleted( ContinuumProject project, ContinuumBuild build, Set recipients,
Map configuration )
-    throws NotificationException
+        throws NotificationException
     {
         if ( build.getError() == null )
         {
@@ -171,7 +172,7 @@
     }
 
     private void buildComplete( ContinuumProject project, ContinuumBuild build, Set recipients,
Map configuration )
-    throws NotificationException
+        throws NotificationException
     {
         if ( build.getError() == null )
         {
@@ -237,11 +238,6 @@
             {
 
             }
-        }
-
-        if ( build != null && !StringUtils.isEmpty( build.getError() ) )
-        {
-            System.out.println( build.getError() );
         }
     }
 

Modified: maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java?rev=209438&r1=209437&r2=209438&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java
(original)
+++ maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java
Wed Jul  6 03:13:01 2005
@@ -217,11 +217,6 @@
 
             }
         }
-
-        if ( build != null && !StringUtils.isEmpty( build.getError() ) )
-        {
-            System.out.println( build.getError() );
-        }
     }
 
     /**



Mime
View raw message