From 3f2ef93e482078167226b5f3d61722d114eb4e53 Mon Sep 17 00:00:00 2001 From: mata saru Date: Fri, 7 Apr 2017 09:17:45 -0400 Subject: [PATCH] removed method AutoBeanClientSerializer#registerBeanFactory(Class factoryClass, Class forBean) see https://github.com/Atmosphere/atmosphere-extensions/issues/169 https://github.com/Atmosphere/atmosphere-extensions/issues/194 https://github.com/Atmosphere/atmosphere-extensions/issues/216 --- .../atmosphere/gwt20/client/AutoBeanClientSerializer.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gwt20/modules/atmosphere-gwt20-client/src/main/java/org/atmosphere/gwt20/client/AutoBeanClientSerializer.java b/gwt20/modules/atmosphere-gwt20-client/src/main/java/org/atmosphere/gwt20/client/AutoBeanClientSerializer.java index fe0032bbf..5ddd894db 100644 --- a/gwt20/modules/atmosphere-gwt20-client/src/main/java/org/atmosphere/gwt20/client/AutoBeanClientSerializer.java +++ b/gwt20/modules/atmosphere-gwt20-client/src/main/java/org/atmosphere/gwt20/client/AutoBeanClientSerializer.java @@ -31,7 +31,6 @@ package org.atmosphere.gwt20.client; -import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.rpc.SerializationException; import com.google.web.bindery.autobean.shared.AutoBean; import com.google.web.bindery.autobean.shared.AutoBeanCodex; @@ -81,10 +80,6 @@ public class AutoBeanClientSerializer implements ClientSerializer { // buffer in order to capture split messages private StringBuffer buffer = new StringBuffer(16100); - public void registerBeanFactory(Class factoryClass, Class forBean) { - registerBeanFactory((AutoBeanFactory) GWT.create(factoryClass), forBean); - } - public void registerBeanFactory(AutoBeanFactory factory, Class forBean) { if (beanFactories == null) { beanFactories = new HashMap();