From a59638d5c982c0336e08e3fa61d05afbfccfbba6 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Mon, 27 Jan 2014 13:18:48 +0100 Subject: [PATCH] update super and generator implementation with new refactored names --- .../com/google/gwt/query/rebind/JsonBuilderGenerator.java | 4 ++-- .../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(); } -- 2.39.5