Permalink
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...
1 parent fdf63aa commit 4daf9e42da4a946ac2e24cc7f9a45b7c98bbf5b8 Rainer Doebele committed Apr 3, 2013
@@ -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()

0 comments on commit 4daf9e4

Please sign in to comment.