aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldTextEnabled.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-11-21 13:45:18 +0200
committerLeif Åstrand <leif@vaadin.com>2012-11-21 13:45:18 +0200
commit3fc9f19534b7d1ab06fc73b146b9d31868c205c1 (patch)
tree1bffb8b9105fe8c150276c646f0ff119f9d6a565 /uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldTextEnabled.java
parent375024684a58c27657abb79ff63f92ce247437b5 (diff)
downloadvaadin-framework-3fc9f19534b7d1ab06fc73b146b9d31868c205c1.tar.gz
vaadin-framework-3fc9f19534b7d1ab06fc73b146b9d31868c205c1.zip
Global code cleanup
Change-Id: I14f46e6aa4f9cbdd9037f1c4ad1ac38fe7cbda86
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldTextEnabled.java')
-rw-r--r--uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldTextEnabled.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldTextEnabled.java b/uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldTextEnabled.java
index 731869f668..1ba6409a6f 100644
--- a/uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldTextEnabled.java
+++ b/uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldTextEnabled.java
@@ -9,6 +9,7 @@ public class PopupDateFieldTextEnabled extends TestBase {
private static final String ENABLED = "DateField text box enabled";
private static final String DISABLED = "DateField text box disabled";
+
@Override
public void setup() {
final PopupDateField field = new PopupDateField();
@@ -19,9 +20,9 @@ public class PopupDateFieldTextEnabled extends TestBase {
public void valueChange(Property.ValueChangeEvent event) {
field.setTextFieldEnabled((Boolean) event.getProperty()
.getValue());
- if(field.isTextFieldEnabled()){
+ if (field.isTextFieldEnabled()) {
box.setCaption(ENABLED);
- }else{
+ } else {
box.setCaption(DISABLED);
}
}