[seam-commits] Seam SVN: r8879 - trunk/src/main/org/jboss/seam/international.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Sep 2 12:32:56 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-09-02 12:32:56 -0400 (Tue, 02 Sep 2008)
New Revision: 8879

Modified:
   trunk/src/main/org/jboss/seam/international/StatusMessage.java
Log:
Agh, isEmpty needs a conjuntion

Modified: trunk/src/main/org/jboss/seam/international/StatusMessage.java
===================================================================
--- trunk/src/main/org/jboss/seam/international/StatusMessage.java	2008-09-02 12:33:47 UTC (rev 8878)
+++ trunk/src/main/org/jboss/seam/international/StatusMessage.java	2008-09-02 16:32:56 UTC (rev 8879)
@@ -54,7 +54,7 @@
    
    public boolean isEmpty()
    {
-      return Strings.isEmpty(summary) || Strings.isEmpty(summaryTemplate);
+      return Strings.isEmpty(summary) && Strings.isEmpty(summaryTemplate);
    }
    
    public void interpolate(Object... params)




More information about the seam-commits mailing list