aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>2014-01-22 07:05:36 +0000
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>2014-01-22 07:05:36 +0000
commitab79a6dbefbafaa8a12d6976a467fabec26ecd2f (patch)
treefb1be5b2ed89b1539bee17d8bbabfeb970b11b32
parent9164a892dd9371e67bfc6cac50973b4588cd861d (diff)
downloadgwtquery-ab79a6dbefbafaa8a12d6976a467fabec26ecd2f.tar.gz
gwtquery-ab79a6dbefbafaa8a12d6976a467fabec26ecd2f.zip
remove println
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java4
1 files changed, 1 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 f516fc6a..8f0846c6 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
@@ -168,7 +168,7 @@ public class Ajax extends GQuery {
}, new Function() {
public Object f(Object...args) {
Throwable exception = arguments(0);
- Request request = arguments(1);
+ Request request = getArgument(1, Request.class);
String msg = String.valueOf(exception);
return new Object[]{null, msg, request, null, exception};
}
@@ -212,8 +212,6 @@ public class Ajax extends GQuery {
settings.setDataString(dataString);
settings.setContentType(contentType);
}
-
- System.out.println(settings.getDataString());
if ("GET".equals(settings.getType()) && settings.getDataString() != null) {
url += (url.contains("?") ? "&" : "?") + settings.getDataString();