]> source.dussan.org Git - vaadin-framework.git/commitdiff
Disable Atmosphere version number check (#11890)
authorLeif Åstrand <leif@vaadin.com>
Tue, 21 May 2013 12:57:33 +0000 (15:57 +0300)
committerLeif Åstrand <leif@vaadin.com>
Tue, 21 May 2013 12:58:21 +0000 (15:58 +0300)
Change-Id: I8f04cc0ddc034ce7cb43cc7f6646ddffcba64a4b

server/src/com/vaadin/server/communication/PushRequestHandler.java

index e75798a9805723124638499c3b25633a69aa39ff..8d0da24896a6c914ec84b70fc54a9adeb7254594 100644 (file)
@@ -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);