]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix TestingPushConnection.init signature (#11673)
authorJohannes Dahlström <johannesd@vaadin.com>
Wed, 22 May 2013 13:50:17 +0000 (16:50 +0300)
committerVaadin Code Review <review@vaadin.com>
Wed, 22 May 2013 13:56:49 +0000 (13:56 +0000)
Change-Id: I7f5736fd456c21878a0eabdbff46a648932d3516

uitest/src/com/vaadin/tests/widgetset/client/TestingPushConnection.java

index 8d005989079d2a3b8ee32f326f6c4ea83a00baf8..e255a5f95a39be248f4bd2b97f438c2de0b75e86 100644 (file)
@@ -2,6 +2,7 @@ package com.vaadin.tests.widgetset.client;
 
 import com.google.gwt.user.client.Window;
 import com.vaadin.client.ApplicationConnection;
+import com.vaadin.client.ApplicationConnection.CommunicationErrorHandler;
 import com.vaadin.client.communication.AtmospherePushConnection;
 
 public class TestingPushConnection extends AtmospherePushConnection {
@@ -9,8 +10,9 @@ public class TestingPushConnection extends AtmospherePushConnection {
     private String transport;
 
     @Override
-    public void init(ApplicationConnection connection) {
-        super.init(connection);
+    public void init(ApplicationConnection connection,
+            CommunicationErrorHandler errorHandler) {
+        super.init(connection, errorHandler);
         transport = Window.Location.getParameter("transport");
     }