aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/CheckBox.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2011-11-22 16:47:20 +0200
committerArtur Signell <artur@vaadin.com>2011-11-22 16:47:20 +0200
commite1f4a1215aa6cc65822e7968cfe385fe0b1b695c (patch)
tree0b92b6b45f1fab884f70d032d78c5a4b485c6b17 /src/com/vaadin/ui/CheckBox.java
parent7cdedcae9e92a9ae7dc97f2acdfc119f79e9eb32 (diff)
downloadvaadin-framework-e1f4a1215aa6cc65822e7968cfe385fe0b1b695c.tar.gz
vaadin-framework-e1f4a1215aa6cc65822e7968cfe385fe0b1b695c.zip
FIXME comment for the future
Diffstat (limited to 'src/com/vaadin/ui/CheckBox.java')
-rw-r--r--src/com/vaadin/ui/CheckBox.java3
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();
}