diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-09-05 19:04:20 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-09-05 19:04:20 +0300 |
commit | d1c361e251800c6f7d596ddf79ed1c7569196856 (patch) | |
tree | 858d5965870a4810e5db37d8522aaa8064a78825 /uitest/src/com/vaadin/tests/applicationcontext | |
parent | 5ab35cc6080653a7e9b25712f637db6c95c183ce (diff) | |
download | vaadin-framework-d1c361e251800c6f7d596ddf79ed1c7569196856.tar.gz vaadin-framework-d1c361e251800c6f7d596ddf79ed1c7569196856.zip |
Rename Application to VaadinSession (#9402)
Diffstat (limited to 'uitest/src/com/vaadin/tests/applicationcontext')
-rw-r--r-- | uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java b/uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java index 96ebe1345f..72e0a215a7 100644 --- a/uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java +++ b/uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java @@ -1,6 +1,6 @@ package com.vaadin.tests.applicationcontext; -import com.vaadin.server.ServletApplicationContext; +import com.vaadin.server.VaadinServletSession; import com.vaadin.tests.components.AbstractTestCase; import com.vaadin.tests.util.Log; import com.vaadin.ui.Button; @@ -32,7 +32,7 @@ public class ChangeSessionId extends AbstractTestCase { loginButton.addListener(new ClickListener() { @Override public void buttonClick(ClickEvent event) { - ServletApplicationContext context = ((ServletApplicationContext) getContext()); + VaadinServletSession context = ((VaadinServletSession) getContext()); String oldSessionId = context.getHttpSession().getId(); context.reinitializeSession(); @@ -55,7 +55,7 @@ public class ChangeSessionId extends AbstractTestCase { } protected String getSessionId() { - return ((ServletApplicationContext) getContext()).getHttpSession().getId(); + return ((VaadinServletSession) getContext()).getHttpSession().getId(); } @Override |