aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/ui/LoadingIndicatorConfigurationTest.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2013-04-25 14:01:27 +0300
committerLeif Åstrand <leif@vaadin.com>2013-04-25 14:01:27 +0300
commit220b1150ca411a63009d7f30e0400dc062f10c27 (patch)
tree1b68d5ccf3dc2521caec0bb89fdb556d6742f69c /uitest/src/com/vaadin/tests/components/ui/LoadingIndicatorConfigurationTest.java
parent10b877bd1497dbc50e34f391134b9c1f86b683be (diff)
downloadvaadin-framework-220b1150ca411a63009d7f30e0400dc062f10c27.tar.gz
vaadin-framework-220b1150ca411a63009d7f30e0400dc062f10c27.zip
Global code clean up
Change-Id: I380d6afbc6b30d817ea6cca3d6b4634ab12522b1
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/ui/LoadingIndicatorConfigurationTest.java')
-rw-r--r--uitest/src/com/vaadin/tests/components/ui/LoadingIndicatorConfigurationTest.java33
1 files changed, 15 insertions, 18 deletions
diff --git a/uitest/src/com/vaadin/tests/components/ui/LoadingIndicatorConfigurationTest.java b/uitest/src/com/vaadin/tests/components/ui/LoadingIndicatorConfigurationTest.java
index 0d962309e4..3c857a8753 100644
--- a/uitest/src/com/vaadin/tests/components/ui/LoadingIndicatorConfigurationTest.java
+++ b/uitest/src/com/vaadin/tests/components/ui/LoadingIndicatorConfigurationTest.java
@@ -47,27 +47,24 @@ public class LoadingIndicatorConfigurationTest extends AbstractTestUIWithLog {
});
secondDelay = createIntegerTextField("Second delay (ms)",
getState().loadingIndicatorConfiguration.secondDelay);
- secondDelay
- .addValueChangeListener(new Property.ValueChangeListener() {
- @Override
- public void valueChange(ValueChangeEvent event) {
- getLoadingIndicatorConfiguration().setSecondDelay(
- (Integer) secondDelay.getConvertedValue());
- }
- });
+ secondDelay.addValueChangeListener(new Property.ValueChangeListener() {
+ @Override
+ public void valueChange(ValueChangeEvent event) {
+ getLoadingIndicatorConfiguration().setSecondDelay(
+ (Integer) secondDelay.getConvertedValue());
+ }
+ });
thirdDelay = createIntegerTextField("Third delay (ms)",
getState().loadingIndicatorConfiguration.thirdDelay);
- thirdDelay
- .addValueChangeListener(new Property.ValueChangeListener() {
- @Override
- public void valueChange(ValueChangeEvent event) {
- getLoadingIndicatorConfiguration().setThirdDelay(
- (Integer) thirdDelay.getConvertedValue());
- }
- });
+ thirdDelay.addValueChangeListener(new Property.ValueChangeListener() {
+ @Override
+ public void valueChange(ValueChangeEvent event) {
+ getLoadingIndicatorConfiguration().setThirdDelay(
+ (Integer) thirdDelay.getConvertedValue());
+ }
+ });
- getLayout()
- .addComponents(firstDelay, secondDelay, thirdDelay);
+ getLayout().addComponents(firstDelay, secondDelay, thirdDelay);
HorizontalLayout hl = new HorizontalLayout();
hl.setMargin(true);