continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r573617 - /maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java
Date Fri, 07 Sep 2007 15:48:55 GMT
Author: evenisse
Date: Fri Sep  7 08:48:54 2007
New Revision: 573617

URL: http://svn.apache.org/viewvc?rev=573617&view=rev
Log:
autoset the full name to nick if empty

Modified:
    maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java

Modified: maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java?rev=573617&r1=573616&r2=573617&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java
(original)
+++ maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java
Fri Sep  7 08:48:54 2007
@@ -157,7 +157,7 @@
                 for ( Iterator i = channels.iterator(); i.hasNext(); )
                 {
                     String channel = (String) i.next();
-                    connectToChannel( conn, channel);
+                    connectToChannel( conn, channel );
                 }
             }
         }
@@ -186,7 +186,7 @@
             }
             if ( !found )
             {
-                channels.add( channel);
+                channels.add( channel );
                 channelConnections.put( key, channels );
             }
 
@@ -277,6 +277,11 @@
         }
 
         String fullName = (String) configuration.get( "fullName" );
+
+        if ( StringUtils.isEmpty( fullName ) )
+        {
+            fullName = login;
+        }
 
         String password = (String) configuration.get( "password" );
 



Mime
View raw message