From: Manolo Carrasco Date: Mon, 27 Jan 2014 12:18:48 +0000 (+0100) Subject: update super and generator implementation with new refactored names X-Git-Tag: gwtquery-project-1.4.3~44^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a59638d5c982c0336e08e3fa61d05afbfccfbba6;p=gwtquery.git update super and generator implementation with new refactored names --- diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsonBuilderGenerator.java b/gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsonBuilderGenerator.java index 729f3a46..270db704 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsonBuilderGenerator.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsonBuilderGenerator.java @@ -322,12 +322,12 @@ public class JsonBuilderGenerator extends Generator { sw.println("return null;"); sw.outdent(); sw.println("}"); - sw.println("public Binder create(String s) {"); + sw.println("public " + IsProperties.class.getName() + " create(String s) {"); sw.indent(); sw.println("return " + Properties.class.getName() + ".create(s);"); sw.outdent(); sw.println("}"); - sw.println("public Binder create() {"); + sw.println("public " + IsProperties.class.getName() + " create() {"); sw.indent(); sw.println("return " + Properties.class.getName() + ".create();"); sw.outdent(); diff --git a/gwtquery-core/src/main/super/com/google/gwt/query/super/com/google/gwt/query/client/GQ.java b/gwtquery-core/src/main/super/com/google/gwt/query/super/com/google/gwt/query/client/GQ.java index 732d2902..7f8fb42e 100644 --- a/gwtquery-core/src/main/super/com/google/gwt/query/super/com/google/gwt/query/client/GQ.java +++ b/gwtquery-core/src/main/super/com/google/gwt/query/super/com/google/gwt/query/client/GQ.java @@ -16,7 +16,7 @@ package com.google.gwt.query.client; import com.google.gwt.core.shared.GWT; -import com.google.gwt.query.client.Binder; +import com.google.gwt.query.client.IsProperties; import com.google.gwt.query.client.builders.JsonBuilder; import com.google.gwt.query.client.builders.JsonFactory; import com.google.gwt.query.client.plugins.ajax.AjaxTransportJs; @@ -40,11 +40,11 @@ public class GQ { return ret; } - public static Binder create(String s) { + public static IsProperties create(String s) { return getFactory().create(s); } - public static Binder create() { + public static IsProperties create() { return getFactory().create(); }