comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java @ 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
comparison
equal deleted inserted replaced
4694:5411975223f0 4695:139cf1f9a22c
675 * Updates the ListGrid. 675 * Updates the ListGrid.
676 */ 676 */
677 private void updateGrid() { 677 private void updateGrid() {
678 clearGrid(); 678 clearGrid();
679 679
680 if (filteredCollections == null || 680 if (collections == null || collections.isEmpty()) {
681 filteredCollections.size() == 0) {
682 return; 681 return;
683 } 682 }
684 683
685 for (Collection col: collections) { 684 for (Collection col: collections) {
686 String name; 685 String name;

http://dive4elements.wald.intevation.org