diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-04-25 14:01:27 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2013-04-25 14:01:27 +0300 |
commit | 220b1150ca411a63009d7f30e0400dc062f10c27 (patch) | |
tree | 1b68d5ccf3dc2521caec0bb89fdb556d6742f69c /uitest/src/com/vaadin/tests/components/ui/LoadingIndicatorConfigurationTest.java | |
parent | 10b877bd1497dbc50e34f391134b9c1f86b683be (diff) | |
download | vaadin-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.java | 33 |
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); |