summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-09-05 10:58:12 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-05 11:39:37 +0300
commitc8ba35652ebdea8c659b5fc2485690cc637da96a (patch)
tree52dbe48357bae5d3ccde7ae933b7170921dfc20c /uitest/src/com/vaadin/tests
parent0a64a44e5fc9e7f79d5540aefd39262d50424477 (diff)
downloadvaadin-framework-c8ba35652ebdea8c659b5fc2485690cc637da96a.tar.gz
vaadin-framework-c8ba35652ebdea8c659b5fc2485690cc637da96a.zip
Don't require an Application with portlet listeners (#9402)
Diffstat (limited to 'uitest/src/com/vaadin/tests')
-rw-r--r--uitest/src/com/vaadin/tests/integration/JSR286PortletApplication.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/integration/JSR286PortletApplication.java b/uitest/src/com/vaadin/tests/integration/JSR286PortletApplication.java
index 2243adf336..50de6b4882 100644
--- a/uitest/src/com/vaadin/tests/integration/JSR286PortletApplication.java
+++ b/uitest/src/com/vaadin/tests/integration/JSR286PortletApplication.java
@@ -89,7 +89,7 @@ public class JSR286PortletApplication extends Application.LegacyApplication {
if (getContext() instanceof PortletApplicationContext2) {
PortletApplicationContext2 ctx = (PortletApplicationContext2) getContext();
- ctx.addPortletListener(this, new DemoPortletListener());
+ ctx.addPortletListener(new DemoPortletListener());
} else {
getMainWindow().showNotification("Not inited via Portal!",
Notification.TYPE_ERROR_MESSAGE);