Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

EMPIREDB-181

simple fix for isValid()

git-svn-id: https://svn.apache.org/repos/asf/empire-db/trunk@1463924 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 4daf9e42da4a946ac2e24cc7f9a45b7c98bbf5b8 1 parent fdf63aa
Rainer Doebele authored
View
3  empire-db-jsf2/src/main/java/org/apache/empire/jsf2/pageelements/ListPageElement.java
@@ -423,10 +423,9 @@ public ListPageElement(Page page, Class<T> beanClass, String propertyName)
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()
Please sign in to comment.
Something went wrong with that request. Please try again.