aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/VerifyBrowserVersion.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/VerifyBrowserVersion.java')
-rw-r--r--uitest/src/com/vaadin/tests/VerifyBrowserVersion.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/VerifyBrowserVersion.java b/uitest/src/com/vaadin/tests/VerifyBrowserVersion.java
index f4cf236a24..022a343196 100644
--- a/uitest/src/com/vaadin/tests/VerifyBrowserVersion.java
+++ b/uitest/src/com/vaadin/tests/VerifyBrowserVersion.java
@@ -1,6 +1,5 @@
package com.vaadin.tests;
-import com.vaadin.server.ApplicationContext;
import com.vaadin.server.WebBrowser;
import com.vaadin.tests.components.TestBase;
import com.vaadin.ui.Label;
@@ -9,8 +8,7 @@ public class VerifyBrowserVersion extends TestBase {
@Override
protected void setup() {
- ApplicationContext context = getContext();
- WebBrowser browser = context.getBrowser();
+ WebBrowser browser = getBrowser();
addComponent(new Label(browser.getBrowserApplication()));
addComponent(new Label("Touch device? "
+ (browser.isTouchDevice() ? "YES" : "No")));