diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/application')
3 files changed, 8 insertions, 9 deletions
diff --git a/uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java b/uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java index 34c102df7f..8988fe764a 100644 --- a/uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java +++ b/uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java @@ -21,12 +21,13 @@ public class RefreshStatePreserve extends AbstractTestUI { addComponent(log); log.log("Initial fragment: " + getPage().getUriFragment()); - getPage().addUriFragmentChangedListener(new UriFragmentChangedListener() { - @Override - public void uriFragmentChanged(UriFragmentChangedEvent event) { - log.log("Fragment changed to " + event.getUriFragment()); - } - }); + getPage().addUriFragmentChangedListener( + new UriFragmentChangedListener() { + @Override + public void uriFragmentChanged(UriFragmentChangedEvent event) { + log.log("Fragment changed to " + event.getUriFragment()); + } + }); } @Override diff --git a/uitest/src/com/vaadin/tests/application/TerminalErrorNotification.java b/uitest/src/com/vaadin/tests/application/TerminalErrorNotification.java index 7ab552a96b..9dee2fe0b6 100644 --- a/uitest/src/com/vaadin/tests/application/TerminalErrorNotification.java +++ b/uitest/src/com/vaadin/tests/application/TerminalErrorNotification.java @@ -15,7 +15,6 @@ */ package com.vaadin.tests.application; -import com.vaadin.server.ErrorEvent; import com.vaadin.tests.components.TestBase; import com.vaadin.ui.Button; import com.vaadin.ui.Button.ClickEvent; diff --git a/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java b/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java index 82d876d9cb..b6774ae56a 100644 --- a/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java +++ b/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java @@ -93,8 +93,7 @@ public class ThreadLocalInstances extends AbstractTestCase { reportStatus(phase, VaadinSession.getCurrent(), UI.getCurrent()); } - private void reportStatus(String phase, VaadinSession application, - UI uI) { + private void reportStatus(String phase, VaadinSession application, UI uI) { log.log(getState(application, this) + " app in " + phase); log.log(getState(uI, mainWindow) + " root in " + phase); } |