diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-08-31 19:40:01 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-09-03 14:05:29 +0300 |
commit | 7c3febaf37b8bdfad31c7d407e9150d04e598bb2 (patch) | |
tree | 3a120065ddb2bb34313e6e64669ed4f38684a105 /uitest/src/com/vaadin/tests/applicationcontext | |
parent | 094fabccf991fae1efd507a8a993fce1bc547b89 (diff) | |
download | vaadin-framework-7c3febaf37b8bdfad31c7d407e9150d04e598bb2.tar.gz vaadin-framework-7c3febaf37b8bdfad31c7d407e9150d04e598bb2.zip |
Rename WebApplicationContext -> ServletApplicationContext (#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 9146cf5dea..96ebe1345f 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.WebApplicationContext; +import com.vaadin.server.ServletApplicationContext; 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) { - WebApplicationContext context = ((WebApplicationContext) getContext()); + ServletApplicationContext context = ((ServletApplicationContext) getContext()); String oldSessionId = context.getHttpSession().getId(); context.reinitializeSession(); @@ -55,7 +55,7 @@ public class ChangeSessionId extends AbstractTestCase { } protected String getSessionId() { - return ((WebApplicationContext) getContext()).getHttpSession().getId(); + return ((ServletApplicationContext) getContext()).getHttpSession().getId(); } @Override |