From: Leif Åstrand Date: Tue, 21 May 2013 12:57:33 +0000 (+0300) Subject: Disable Atmosphere version number check (#11890) X-Git-Tag: 7.1.0~90^2~56 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6a7683bedbdc745a6296a44a0328d61172181442;p=vaadin-framework.git Disable Atmosphere version number check (#11890) Change-Id: I8f04cc0ddc034ce7cb43cc7f6646ddffcba64a4b --- diff --git a/server/src/com/vaadin/server/communication/PushRequestHandler.java b/server/src/com/vaadin/server/communication/PushRequestHandler.java index e75798a980..8d0da24896 100644 --- a/server/src/com/vaadin/server/communication/PushRequestHandler.java +++ b/server/src/com/vaadin/server/communication/PushRequestHandler.java @@ -56,7 +56,12 @@ public class PushRequestHandler implements RequestHandler, public PushRequestHandler(VaadinServletService service) throws ServiceException { - atmosphere = new AtmosphereFramework(); + atmosphere = new AtmosphereFramework() { + @Override + protected void analytics() { + // Overridden to disable version number check + } + }; pushHandler = new PushHandler(service); atmosphere.addAtmosphereHandler("/*", pushHandler);