From ab79a6dbefbafaa8a12d6976a467fabec26ecd2f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Carrasco=20Mo=C3=B1ino?= Date: Wed, 22 Jan 2014 07:05:36 +0000 Subject: [PATCH] remove println --- .../java/com/google/gwt/query/client/plugins/ajax/Ajax.java | 4 +--- 1 file changed, 1 insertion(+), 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(); -- 2.39.5