Skip to content

Commit

Permalink
EMPIREDB-181
Browse files Browse the repository at this point in the history
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
Rainer Doebele committed Apr 3, 2013
1 parent fdf63aa commit 4daf9e4
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -423,10 +423,9 @@ public List<T> getItems()
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()
Expand Down

0 comments on commit 4daf9e4

Please sign in to comment.