diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/AbstractTestUIProvider.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/AbstractTestUIProvider.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/components/AbstractTestUIProvider.java b/uitest/src/com/vaadin/tests/components/AbstractTestUIProvider.java index 3d380c7835..4311cd6a0f 100644 --- a/uitest/src/com/vaadin/tests/components/AbstractTestUIProvider.java +++ b/uitest/src/com/vaadin/tests/components/AbstractTestUIProvider.java @@ -2,7 +2,6 @@ package com.vaadin.tests.components; import com.vaadin.Application; import com.vaadin.server.AbstractUIProvider; -import com.vaadin.server.ApplicationContext; import com.vaadin.server.WebBrowser; public abstract class AbstractTestUIProvider extends AbstractUIProvider { @@ -11,8 +10,7 @@ public abstract class AbstractTestUIProvider extends AbstractUIProvider { protected abstract Integer getTicketNumber(); protected WebBrowser getBrowser() { - ApplicationContext context = Application.getCurrent().getContext(); - WebBrowser webBrowser = context.getBrowser(); + WebBrowser webBrowser = Application.getCurrent().getBrowser(); return webBrowser; } } |