From: Manuel Carrasco MoƱino Date: Mon, 4 Mar 2013 13:51:38 +0000 (+0100) Subject: remove eclipse warnings X-Git-Tag: release-1.4.0~72 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d8154713fc443ca709df5aa6401012a22d869a0e;p=gwtquery.git remove eclipse warnings --- diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java index e2332181..dbfc8996 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java @@ -431,7 +431,6 @@ public class GQuery implements Lazy { return Ajax.ajax(url, settings); } - @SuppressWarnings("unchecked") protected static GQuery cleanHtmlString(String elem, Document doc) { String tag = tagNameRegex.exec(elem).get(1); 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 390dc378..86574b9a 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 @@ -1,7 +1,6 @@ package com.google.gwt.query.client.plugins.ajax; import com.google.gwt.core.client.GWT; -import com.google.gwt.core.client.JavaScriptException; import com.google.gwt.dom.client.Element; import com.google.gwt.http.client.Request; import com.google.gwt.http.client.RequestBuilder; @@ -18,8 +17,6 @@ import com.google.gwt.query.client.js.JsUtils; import com.google.gwt.query.client.plugins.Deferred; import com.google.gwt.query.client.plugins.Plugin; import com.google.gwt.user.client.ui.FormPanel; -import com.google.gwt.xhr.client.ReadyStateChangeHandler; -import com.google.gwt.xhr.client.XMLHttpRequest; /** * Ajax class for GQuery.