aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/launcher
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-09-27 15:59:39 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-27 15:59:39 +0300
commitcf1f89072dcd820248474a36cfc2f60e5f3f9a1b (patch)
treecbe0cde8462785ab04b46f62bb4a3d447f2c5c79 /uitest/src/com/vaadin/launcher
parented2d516f04fd156814cc43c55d36f567e2611ba2 (diff)
downloadvaadin-framework-cf1f89072dcd820248474a36cfc2f60e5f3f9a1b.tar.gz
vaadin-framework-cf1f89072dcd820248474a36cfc2f60e5f3f9a1b.zip
Global code cleanup
Diffstat (limited to 'uitest/src/com/vaadin/launcher')
-rw-r--r--uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java21
1 files changed, 9 insertions, 12 deletions
diff --git a/uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java b/uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java
index 1883910b7b..05edc506a9 100644
--- a/uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java
+++ b/uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java
@@ -33,14 +33,14 @@ import com.vaadin.LegacyApplication;
import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.server.LegacyVaadinServlet;
import com.vaadin.server.ServiceException;
+import com.vaadin.server.SessionInitEvent;
+import com.vaadin.server.SessionInitListener;
import com.vaadin.server.UIClassSelectionEvent;
import com.vaadin.server.UIProvider;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinServletRequest;
import com.vaadin.server.VaadinServletService;
import com.vaadin.server.VaadinSession;
-import com.vaadin.server.SessionInitListener;
-import com.vaadin.server.SessionInitEvent;
import com.vaadin.tests.components.TestBase;
import com.vaadin.ui.UI;
@@ -76,16 +76,13 @@ public class ApplicationRunnerServlet extends LegacyVaadinServlet {
@Override
protected void servletInitialized() {
super.servletInitialized();
- getService().addSessionInitListener(
- new SessionInitListener() {
- @Override
- public void sessionInit(
- SessionInitEvent event)
- throws ServiceException {
- onVaadinSessionStarted(event.getRequest(),
- event.getSession());
- }
- });
+ getService().addSessionInitListener(new SessionInitListener() {
+ @Override
+ public void sessionInit(SessionInitEvent event)
+ throws ServiceException {
+ onVaadinSessionStarted(event.getRequest(), event.getSession());
+ }
+ });
}
private void addDirectories(File parent, LinkedHashSet<String> packages,