summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/tickets/Ticket2292.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket2292.java')
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2292.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2292.java b/uitest/src/com/vaadin/tests/tickets/Ticket2292.java
index 20047df2ee..38cd84ff01 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2292.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2292.java
@@ -14,7 +14,7 @@ import com.vaadin.server.ExternalResource;
import com.vaadin.server.RequestHandler;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinResponse;
-import com.vaadin.server.VaadinSession;
+import com.vaadin.server.VaadinServiceSession;
import com.vaadin.ui.Button;
import com.vaadin.ui.CheckBox;
import com.vaadin.ui.Label;
@@ -44,12 +44,12 @@ public class Ticket2292 extends com.vaadin.LegacyApplication implements
Link l = new Link("l", icon);
main.addComponent(l);
- VaadinSession.getCurrent().addRequestHandler(this);
+ VaadinServiceSession.getCurrent().addRequestHandler(this);
}
@Override
- public boolean handleRequest(VaadinSession session, VaadinRequest request,
- VaadinResponse response) throws IOException {
+ public boolean handleRequest(VaadinServiceSession session,
+ VaadinRequest request, VaadinResponse response) throws IOException {
String relativeUri = request.getRequestPathInfo();
if (!relativeUri.contains("icon.png")) {