Browse Source

improved code style

svn changeset:16605/svn branch:6.5
tags/6.7.0.beta1
Matti Tahvonen 13 years ago
parent
commit
f23bf594fd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/com/vaadin/ui/Table.java

+ 1
- 1
src/com/vaadin/ui/Table.java View File

@@ -1950,7 +1950,7 @@ public class Table extends AbstractSelect implements Action.Container,
}
}

if (!isNullSelectionAllowed() && newValue.size() < 1) {
if (!isNullSelectionAllowed() && newValue.isEmpty()) {
// empty selection not allowed, keep old value
requestRepaint();
return;

Loading…
Cancel
Save