]> source.dussan.org Git - gwtquery.git/commitdiff
remove eclipse warnings
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Mon, 4 Mar 2013 13:51:38 +0000 (14:51 +0100)
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Mon, 4 Mar 2013 13:51:38 +0000 (14:51 +0100)
gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java
gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java

index e233218157dc40a74e1f1563a2e079e588544cc9..dbfc89964799ff50140d10d50a8ba6a384877daf 100644 (file)
@@ -431,7 +431,6 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
     return Ajax.ajax(url, settings);
   }
 
-  @SuppressWarnings("unchecked")
   protected static GQuery cleanHtmlString(String elem, Document doc) {
 
     String tag = tagNameRegex.exec(elem).get(1);
index 390dc378f94e8e1c2e2e1708b84ef8e835505624..86574b9a54bc73bd39fc4903d22c935edf8bf892 100644 (file)
@@ -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.