diff options
author | Manolo Carrasco <manolo@apache.org> | 2014-01-27 13:18:48 +0100 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2014-01-27 13:18:48 +0100 |
commit | a59638d5c982c0336e08e3fa61d05afbfccfbba6 (patch) | |
tree | 28fb0b25173738e43ff53106401105debcad701b | |
parent | 8a0328a2d3edc5319aa4206d2061356a48f35e72 (diff) | |
download | gwtquery-a59638d5c982c0336e08e3fa61d05afbfccfbba6.tar.gz gwtquery-a59638d5c982c0336e08e3fa61d05afbfccfbba6.zip |
update super and generator implementation with new refactored names
-rw-r--r-- | gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsonBuilderGenerator.java | 4 | ||||
-rw-r--r-- | gwtquery-core/src/main/super/com/google/gwt/query/super/com/google/gwt/query/client/GQ.java | 6 |
2 files changed, 5 insertions, 5 deletions
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(); } |