empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r1463924 - /empire-db/trunk/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/pageelements/ListPageElement.java
Date Wed, 03 Apr 2013 11:35:25 GMT
Author: doebele
Date: Wed Apr  3 11:35:25 2013
New Revision: 1463924

URL: http://svn.apache.org/r1463924
Log:
EMPIREDB-181
simple fix for isValid()

Modified:
    empire-db/trunk/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/pageelements/ListPageElement.java

Modified: empire-db/trunk/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/pageelements/ListPageElement.java
URL: http://svn.apache.org/viewvc/empire-db/trunk/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/pageelements/ListPageElement.java?rev=1463924&r1=1463923&r2=1463924&view=diff
==============================================================================
--- empire-db/trunk/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/pageelements/ListPageElement.java
(original)
+++ empire-db/trunk/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/pageelements/ListPageElement.java
Wed Apr  3 11:35:25 2013
@@ -423,10 +423,9 @@ public abstract class ListPageElement<T>
         return this.items;
     }
 
-    // DS only valid if there are items in the list
     public final boolean isValid()
     {
-        return (this.items == null) ? false : this.items.size() > 0;
+        return (this.items != null); //  ? false : this.items.size() > 0
     }
 
     public final boolean isEmpty()



Mime
View raw message