diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-09-05 19:50:56 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-09-05 19:51:15 +0300 |
commit | 7d25670284b11c7c62ba25183f265227cb3dba83 (patch) | |
tree | c8e76eb70dd3cdd5cf59a99419635f2188b25c24 /uitest/src/com/vaadin/tests/tickets/Ticket2038.java | |
parent | 1d0c96de9595c243d88471476d21e5f248be63f7 (diff) | |
download | vaadin-framework-7d25670284b11c7c62ba25183f265227cb3dba83.tar.gz vaadin-framework-7d25670284b11c7c62ba25183f265227cb3dba83.zip |
Reformat project
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket2038.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/tickets/Ticket2038.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2038.java b/uitest/src/com/vaadin/tests/tickets/Ticket2038.java index db01fae34f..693ef3a15c 100644 --- a/uitest/src/com/vaadin/tests/tickets/Ticket2038.java +++ b/uitest/src/com/vaadin/tests/tickets/Ticket2038.java @@ -5,8 +5,8 @@ import com.vaadin.data.Property; import com.vaadin.data.Property.ValueChangeEvent; import com.vaadin.ui.CheckBox; import com.vaadin.ui.Notification; -import com.vaadin.ui.UI.LegacyWindow; import com.vaadin.ui.TextField; +import com.vaadin.ui.UI.LegacyWindow; public class Ticket2038 extends Application { @@ -38,7 +38,7 @@ public class Ticket2038 extends Application { b.addListener(new Property.ValueChangeListener() { @Override public void valueChange(ValueChangeEvent event) { - tf.setRequiredError((Boolean) b.getValue() ? "Field must not be empty" + tf.setRequiredError(b.getValue() ? "Field must not be empty" : null); } }); |