Mercurial > dive4elements > river
changeset 4695:139cf1f9a22c
Use isEmpty for list check
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 17 Dec 2012 16:16:49 +0100 |
parents | 5411975223f0 |
children | 03c66281c16b |
files | flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java Mon Dec 17 16:16:29 2012 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java Mon Dec 17 16:16:49 2012 +0100 @@ -677,8 +677,7 @@ private void updateGrid() { clearGrid(); - if (filteredCollections == null || - filteredCollections.size() == 0) { + if (collections == null || collections.isEmpty()) { return; }