diff options
Diffstat (limited to 'src/com/vaadin/ui/CheckBox.java')
-rw-r--r-- | src/com/vaadin/ui/CheckBox.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/CheckBox.java b/src/com/vaadin/ui/CheckBox.java index bb3a0cc66a..11d9619c8c 100644 --- a/src/com/vaadin/ui/CheckBox.java +++ b/src/com/vaadin/ui/CheckBox.java @@ -122,6 +122,9 @@ public class CheckBox extends AbstractField { */ @Deprecated public boolean booleanValue() { + // FIXME: How should null really be handled? A default converter that + // converts it to false? The only UI values supported are true and + // false. Boolean value = (Boolean) getValue(); return (null == value) ? false : value.booleanValue(); } |