diff options
author | Manuel Carrasco Moñino <manuel.carrasco.m@gmail.com> | 2014-01-20 07:23:55 +0000 |
---|---|---|
committer | Manuel Carrasco Moñino <manuel.carrasco.m@gmail.com> | 2014-01-20 07:23:55 +0000 |
commit | 1698ef35053af4ed3e22a5f9602e35ec2e8cf8e4 (patch) | |
tree | 41449e6bf1a80c45a2e3b412b1d8fd5e2844e4d5 | |
parent | 7d9feb50039b44a89b37642137944e9add8713da (diff) | |
download | gwtquery-1698ef35053af4ed3e22a5f9602e35ec2e8cf8e4.tar.gz gwtquery-1698ef35053af4ed3e22a5f9602e35ec2e8cf8e4.zip |
select appropriate overloaded methods
-rw-r--r-- | gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java index 928f667f..6591fc0a 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java @@ -260,11 +260,11 @@ public class Ajax extends GQuery { } public static Promise get(String url) { - return get(url, null, null); + return get(url, null); } public static Promise get(String url, Binder data) { - return get(url, data, null); + return get(url, (Binder)data, null); } public static Promise get(String url, Binder data, Function onSuccess) { @@ -353,7 +353,7 @@ public class Ajax extends GQuery { } public static Promise post(String url, Binder data) { - return post(url, data, null); + return post(url, (Binder)data, null); } public static Promise post(String url, Binder data, final Function onSuccess) { |