continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r446949 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/projectview/NotifierRecipientCell.java
Date Sat, 16 Sep 2006 20:37:21 GMT
Author: carlos
Date: Sat Sep 16 13:37:20 2006
New Revision: 446949

URL: http://svn.apache.org/viewvc?view=rev&rev=446949
Log:
[CONTINUUM-919] NPE when viewing M2 projects with notifiers.

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/projectview/NotifierRecipientCell.java

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/projectview/NotifierRecipientCell.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/projectview/NotifierRecipientCell.java?view=diff&rev=446949&r1=446948&r2=446949
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/projectview/NotifierRecipientCell.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/projectview/NotifierRecipientCell.java
Sat Sep 16 13:37:20 2006
@@ -57,7 +57,14 @@
         }
         else
         {
-            return notifier.getConfiguration().get( "address" ).toString();
+            if ( notifier.getConfiguration().get( "address" ) == null )
+            {
+                return "";
+            }
+            else
+            {
+                return notifier.getConfiguration().get( "address" ).toString();
+            }
         }
     }
 }



Mime
View raw message