Browse Source

Fix TestingPushConnection.init signature (#11673)

Change-Id: I7f5736fd456c21878a0eabdbff46a648932d3516
tags/7.1.0
Johannes Dahlström 11 years ago
parent
commit
53a9c1123a

+ 4
- 2
uitest/src/com/vaadin/tests/widgetset/client/TestingPushConnection.java View 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");
}


Loading…
Cancel
Save