Skip to content

Commit

Permalink
removed method AutoBeanClientSerializer#registerBeanFactory(Class<Aut…
Browse files Browse the repository at this point in the history
…oBeanFactory> factoryClass, Class forBean)

see
  #169
  #194
  #216
  • Loading branch information
mata saru authored and jfarcand committed Sep 19, 2017
1 parent 9543b44 commit 3f2ef93
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<AutoBeanFactory> factoryClass, Class forBean) {
registerBeanFactory((AutoBeanFactory) GWT.create(factoryClass), forBean);
}

public void registerBeanFactory(AutoBeanFactory factory, Class forBean) {
if (beanFactories == null) {
beanFactories = new HashMap<Class, AutoBeanFactory>();
Expand Down

0 comments on commit 3f2ef93

Please sign in to comment.